Skip to content

Commit

Permalink
Merge pull request #77 from TechDufus/1password/update_modes
Browse files Browse the repository at this point in the history
Updating task modes. [LINT]
  • Loading branch information
TechDufus authored Jan 5, 2024
2 parents acce0c0 + 6a6773f commit 3217dd3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions roles/1password/tasks/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,34 @@
become: true

- name: "1Password | Add debsig-verify policy"
become: true
block:
- name: "1Password | Ensure policy directory exists"
ansible.builtin.file:
name: /etc/debsig/policies/AC2D62742012EA22
state: directory
mode: 0755
mode: "0755"

- name: "1Password | Copy debsig-verify policy"
ansible.builtin.get_url:
url: https://downloads.1password.com/linux/debian/debsig/1password.pol
dest: /etc/debsig/policies/AC2D62742012EA22/1password.pol
mode: 0644
mode: "0644"

- name: "1Password | Ensure debsig keyring directory exists"
ansible.builtin.file:
name: /usr/share/debsig/keyrings/AC2D62742012EA22
state: directory
mode: 0755
mode: "0755"

- name: "1Password | Add debsig keyring"
ansible.builtin.apt_key:
url: https://downloads.1password.com/linux/keys/1password.asc
keyring: /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg
become: true

- name: "1Password | Install 1Password"
ansible.builtin.apt:
name: 1password-cli
state: present
update_cache: true
become: true


0 comments on commit 3217dd3

Please sign in to comment.