summaryrefslogtreecommitdiffstats
path: root/configure.yml
blob: 33220aa6f43db33c9166eaa6a07f3a3901d36aff (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
---
- name: "Archlinux configure"
  gather_facts: true
  hosts:
    - archlinux.local
  roles:
    - role: "locales"
    - role: "timezone"
    - role: "yay"
    - role: "font"
    - role: "which"
    - role: "bash"
    - role: "alacritty"
    - role: "man"
    - role: "jq"
    - role: "ag"
    - role: "tmux"
    - role: "rsync"
    - role: "gpg"
    - role: "btop"
    - role: "zoxide"
    - role: "git"
    - role: "git-crypt"
    - role: "dotfiles"
    - role: "password_store"
    - role: "wireguard"
    - role: "vim"
    - role: "gnome-calendar"
    - role: "gnome-loupe"
    - role: "rnote"
    - role: "mpv"
    - role: "neomutt"
    - role: "go"
    - role: "python"
    - role: "docker"
    - role: "podman"
    - role: "ansible"
    - role: "claude"
    - role: "firefox"
    - role: "chromium"
    - role: "obsidian"
    - role: "nvidia_gtx1060"
    - role: "steam"
    - role: "hyprland"
  post_tasks:
    - name: "Reboot if required"
      become: true
      ansible.builtin.command: "shutdown -r now"
      async: 1
      poll: 0
      changed_when: true
      when: reboot_required | default(false)

- name: "Ubuntu configure"
  gather_facts: true
  hosts:
    - ubuntu.local
  roles:
    - role: "locales"
    - role: "timezone"
    - role: "font"
    - role: "bash"
    - role: "man"
    - role: "jq"
    - role: "ag"
    - role: "tmux"
    - role: "rsync"
    - role: "gpg"
    - role: "git"
    - role: "git-crypt"
    - role: "dotfiles"
    - role: "password_store"
    - role: "vim"
    - role: "neomutt"
    - role: "wireguard"
    - role: "go"
    - role: "python"
    - role: "docker"
    - role: "podman"
    - role: "ansible"
    - role: "gnome"
    - role: "firefox"
    - role: "obsidian"
    - role: "gnome-calendar"
  post_tasks:
    - name: "Reboot if required"
      become: true
      ansible.builtin.command: "shutdown -r now"
      async: 1
      poll: 0
      changed_when: true
      when: reboot_required | default(false)

- name: "Raspberry Pi configure"
  gather_facts: true
  hosts:
    - rpi5.local
  roles:
    - role: "locales"
    - role: "timezone"
    - role: "bash"
    - role: "man"
    - role: "jq"
    - role: "ag"
    - role: "btop"
    - role: "gpg"
    - role: "git"
    - role: "git-crypt"
    - role: "dotfiles"
    - role: "password_store"
    - role: "vim"
    - role: "wireguard"
    - role: "gateway"
    - role: "nginx"
    - role: "wg_portal"
    - role: "pihole"
    - role: "prometheus"
    - role: "grafana"
    - role: "neomutt"
  post_tasks:
    - name: "Reboot if required"
      become: true
      ansible.builtin.command: "shutdown -r now"
      async: 1
      poll: 0
      changed_when: true
      when: reboot_required | default(false)