Compare commits
3 Commits
f7ee7af25c
...
368982b8fa
Author | SHA1 | Date | |
---|---|---|---|
368982b8fa | |||
b3cd84e181 | |||
b0d2fd212e |
@ -1,10 +1,13 @@
|
||||
---
|
||||
- set_fact:
|
||||
keyring: /etc/apt/trusted.gpg.d/1password-archive-keyring.gpg
|
||||
|
||||
- name: add apt signing key
|
||||
when: '"WSL" not in ansible_kernel'
|
||||
become: true
|
||||
apt_key:
|
||||
url: https://downloads.1password.com/linux/keys/1password.asc
|
||||
keyring: /etc/apt/trusted.gpg.d/1password-archive-keyring.gpg
|
||||
keyring: '{{keyring}}'
|
||||
state: present
|
||||
|
||||
- when: ansible_machine == 'x86_64'
|
||||
@ -20,9 +23,9 @@
|
||||
become: true
|
||||
apt_repository:
|
||||
repo: >-
|
||||
deb [arch={{arch}}
|
||||
signed-by=/etc/apt/trusted.gpg.d/1password-archive-keyring.gpg]
|
||||
deb [arch={{arch}} signed-by={{keyring}}]
|
||||
https://downloads.1password.com/linux/debian/{{arch}} stable main
|
||||
filename: 1password
|
||||
|
||||
- name: install gui package
|
||||
when: '"WSL" not in ansible_kernel'
|
||||
|
@ -31,8 +31,6 @@
|
||||
update_cache: true
|
||||
register: gh_apt
|
||||
|
||||
- debug: msg={{gh_apt}}
|
||||
|
||||
- name: install zsh completions
|
||||
when: gh_apt.changed
|
||||
become: true
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- name: install apt package
|
||||
become: true
|
||||
apt:
|
||||
name: jq
|
||||
state: latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user