aboutsummaryrefslogtreecommitdiffstats
path: root/roles/1password/tasks/main.yaml
blob: 88fe964f387a5d81bbee1f2807fba6235ca17440 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
- name: Import 1Password key
  become: yes
  ansible.builtin.rpm_key:
    state: present
    key: https://downloads.1password.com/linux/keys/1password.asc

- name: Add 1Password YUM Repo
  become: yes
  yum_repository:
    name: 1password
    description: 1Password Stable Channel
    baseurl: https://downloads.1password.com/linux/rpm/stable/$basearch
    enabled: yes
    gpgcheck: yes
    repo_gpgcheck: yes
    gpgkey: https://downloads.1password.com/linux/keys/1password.asc
    state: present

- name: Install
  become: yes
  dnf:
    name: 1password
    state: present