aboutsummaryrefslogtreecommitdiffstats
path: root/src/tasks/dnf_packages.yaml
blob: cbf09641cf67d6bdd3857d30d6c8a94571a2bf6a (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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: