summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-04-20 18:54:18 +0100
committerDmitry Ilvokhin <d@ilvokhin.com>2024-04-20 18:54:18 +0100
commit8f7fe713dba455cd6a2e4eef7da178c457a2e269 (patch)
treee8a922c8e628b87f76767d1e51a89e3f26a894c7 /roles
parent845f69638e7a719fe611eb8c3aa067f3c8d5a217 (diff)
downloadinfra-8f7fe713dba455cd6a2e4eef7da178c457a2e269.tar.gz
infra-8f7fe713dba455cd6a2e4eef7da178c457a2e269.tar.bz2
infra-8f7fe713dba455cd6a2e4eef7da178c457a2e269.zip
Add paccache role to all hosts
Diffstat (limited to 'roles')
-rw-r--r--roles/paccache/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
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