summaryrefslogtreecommitdiffstats
path: root/roles/mako/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mako/tasks/main.yml')
-rw-r--r--roles/mako/tasks/main.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/mako/tasks/main.yml b/roles/mako/tasks/main.yml
new file mode 100644
index 00000000..3303969f
--- /dev/null
+++ b/roles/mako/tasks/main.yml
@@ -0,0 +1,22 @@
+---
+- name: "Ensure mako is installed"
+ become: true
+ ansible.builtin.package:
+ name:
+ - "libnotify"
+ - "mako"
+ state: "present"
+
+- name: "Create system config directory"
+ become: true
+ ansible.builtin.file:
+ path: "/etc/xdg/mako"
+ state: "directory"
+ mode: "0755"
+
+- name: "Configure system defaults"
+ become: true
+ ansible.builtin.template:
+ src: "mako/config.j2"
+ dest: "/etc/xdg/mako/config"
+ mode: "0644"