Compare commits

..

No commits in common. "368982b8fa9bb46d208324b0b766e2e145843828" and "f7ee7af25ca2fdea4e2078c993b5d5f49710cb03" have entirely different histories.

3 changed files with 5 additions and 7 deletions

View File

@ -1,13 +1,10 @@
--- ---
- set_fact:
keyring: /etc/apt/trusted.gpg.d/1password-archive-keyring.gpg
- name: add apt signing key - name: add apt signing key
when: '"WSL" not in ansible_kernel' when: '"WSL" not in ansible_kernel'
become: true become: true
apt_key: apt_key:
url: https://downloads.1password.com/linux/keys/1password.asc url: https://downloads.1password.com/linux/keys/1password.asc
keyring: '{{keyring}}' keyring: /etc/apt/trusted.gpg.d/1password-archive-keyring.gpg
state: present state: present
- when: ansible_machine == 'x86_64' - when: ansible_machine == 'x86_64'
@ -23,9 +20,9 @@
become: true become: true
apt_repository: apt_repository:
repo: >- repo: >-
deb [arch={{arch}} signed-by={{keyring}}] deb [arch={{arch}}
signed-by=/etc/apt/trusted.gpg.d/1password-archive-keyring.gpg]
https://downloads.1password.com/linux/debian/{{arch}} stable main https://downloads.1password.com/linux/debian/{{arch}} stable main
filename: 1password
- name: install gui package - name: install gui package
when: '"WSL" not in ansible_kernel' when: '"WSL" not in ansible_kernel'

View File

@ -31,6 +31,8 @@
update_cache: true update_cache: true
register: gh_apt register: gh_apt
- debug: msg={{gh_apt}}
- name: install zsh completions - name: install zsh completions
when: gh_apt.changed when: gh_apt.changed
become: true become: true

View File

@ -1,6 +1,5 @@
--- ---
- name: install apt package - name: install apt package
become: true
apt: apt:
name: jq name: jq
state: latest state: latest