diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2022-05-14 10:29:07 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2022-05-14 10:29:07 -0500 |
| commit | 0e1c7c11d58e86a5a738a025e1afb69596f4d9b2 (patch) | |
| tree | 0d33bc20d97ccf3ee9b057244c2fe85d0d4e1e7c /src/tasks/dnf_packages.yaml | |
| parent | Add license (diff) | |
| download | dotfiles-0e1c7c11d58e86a5a738a025e1afb69596f4d9b2.zip | |
Add more dotfiles
Diffstat (limited to 'src/tasks/dnf_packages.yaml')
| -rw-r--r-- | src/tasks/dnf_packages.yaml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/tasks/dnf_packages.yaml b/src/tasks/dnf_packages.yaml new file mode 100644 index 0000000..cbf0964 --- /dev/null +++ b/src/tasks/dnf_packages.yaml @@ -0,0 +1,58 @@ +--- +- 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: + cmake: + dmenu: + vim: + feh: + firefox: + fzf: + git: + go: + hack-fonts: + i3-gaps: + i3lock: + i3status: + jq: + neofetch: + neovim: + opendoas: + openssl: + python: + python-devel: + python-neovim: + redshift: + ripgrep: + rsync: + scrot: + wget: + zsh: |