aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/tasks/dnf_packages.yaml
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2022-05-11 20:17:02 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2022-05-11 20:17:02 -0500
commit083edc09178e5fd8522469c2d540ce922e031cdb (patch)
treed2c3d9dcca34b7f86c0acb295e81451050f5be98 /ansible/tasks/dnf_packages.yaml
parentUpdate zsh prompt (diff)
downloaddotfiles-083edc09178e5fd8522469c2d540ce922e031cdb.zip
Add dnf packages and clean up ansible scripts
Diffstat (limited to 'ansible/tasks/dnf_packages.yaml')
-rw-r--r--ansible/tasks/dnf_packages.yaml54
1 files changed, 54 insertions, 0 deletions
diff --git a/ansible/tasks/dnf_packages.yaml b/ansible/tasks/dnf_packages.yaml
new file mode 100644
index 0000000..e2fca69
--- /dev/null
+++ b/ansible/tasks/dnf_packages.yaml
@@ -0,0 +1,54 @@
+---
+- 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 dnf packages
+ become: yes
+
+ dnf:
+ name: "{{ item.key }}"
+ state: "{{ item.value.state | default('present') }}"
+
+ with_dict: "{{dnf}}"
+ vars:
+ dnf:
+ "@Development tools":
+ 1password:
+ alacritty:
+ dmenu:
+ vim:
+ feh:
+ firefox:
+ fzf:
+ git:
+ go:
+ hack-fonts:
+ i3-gaps:
+ i3lock:
+ i3status:
+ jq:
+ neofetch:
+ neovim:
+ openssl:
+ python:
+ redshift:
+ ripgrep:
+ rsync:
+ scrot:
+ wget:
+ zsh: