aboutsummaryrefslogtreecommitdiffstats
path: root/roles/1password
diff options
context:
space:
mode:
Diffstat (limited to 'roles/1password')
-rw-r--r--roles/1password/tasks/main.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/roles/1password/tasks/main.yaml b/roles/1password/tasks/main.yaml
new file mode 100644
index 0000000..88fe964
--- /dev/null
+++ b/roles/1password/tasks/main.yaml
@@ -0,0 +1,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