diff options
-rw-r--r-- | TODO.txt | 1 | ||||
-rw-r--r-- | essential.yml | 1 | ||||
-rw-r--r-- | roles/paccache/tasks/main.yml | 11 |
3 files changed, 12 insertions, 1 deletions
@@ -48,7 +48,6 @@ LATER * Install fail2ban. * Set correct hostname for each host. -* Clean pacman caches. * Do `systemctl daemon-reload` on unit updates? diff --git a/essential.yml b/essential.yml index 0bb9211..1d625ce 100644 --- a/essential.yml +++ b/essential.yml @@ -6,6 +6,7 @@ - { role: sshd } - { role: sudo } - { role: atop } + - { role: paccache } - { role: ssh } - { role: bash } - { role: vim } diff --git a/roles/paccache/tasks/main.yml b/roles/paccache/tasks/main.yml new file mode 100644 index 0000000..eff1f4f --- /dev/null +++ b/roles/paccache/tasks/main.yml @@ -0,0 +1,11 @@ +- name: Install paccache + ansible.builtin.package: + name: + - pacman-contrib + state: present + +- name: Enable paccache timer + ansible.builtin.service: + name: paccache.timer + enabled: yes + state: started |