aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation/pacman/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/_workstation/pacman/tasks/main.yml')
-rw-r--r--roles/_workstation/pacman/tasks/main.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/_workstation/pacman/tasks/main.yml b/roles/_workstation/pacman/tasks/main.yml
new file mode 100644
index 0000000..7086eae
--- /dev/null
+++ b/roles/_workstation/pacman/tasks/main.yml
@@ -0,0 +1,20 @@
+---
+
+- name: install pacman-contrib
+ ansible.builtin.package:
+ name: pacman-contrib
+ state: present
+
+- name: create hooks directory
+ ansible.builtin.file:
+ path: "{{ pacman_hooks_dir }}"
+ state: directory
+ mode: "0755"
+
+- name: generate paccache hook
+ ansible.builtin.template:
+ src: paccache.hook.j2
+ dest: "{{ pacman_hooks_dir }}/paccache.hook"
+ owner: 0
+ group: 0
+ mode: "0644"
remember that computers suck.