aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/workstation/tasks/cronie.yml10
-rw-r--r--roles/workstation/tasks/os_archlinux.yml3
2 files changed, 13 insertions, 0 deletions
diff --git a/roles/workstation/tasks/cronie.yml b/roles/workstation/tasks/cronie.yml
new file mode 100644
index 0000000..1ac0042
--- /dev/null
+++ b/roles/workstation/tasks/cronie.yml
@@ -0,0 +1,10 @@
+- name: install cronie
+ package:
+ name: cronie
+ state: present
+
+- name: enable and restart cronie
+ service:
+ name: cronie
+ state: restarted
+ enabled: true
diff --git a/roles/workstation/tasks/os_archlinux.yml b/roles/workstation/tasks/os_archlinux.yml
index 76d78c5..488004c 100644
--- a/roles/workstation/tasks/os_archlinux.yml
+++ b/roles/workstation/tasks/os_archlinux.yml
@@ -2,6 +2,9 @@
include_tasks: tlp.yml
when: ansible_form_factor in ["Laptop", "Notebook"]
+- name: include cronie setup
+ include_tasks: cronie.yml
+
- name: include virtualization setup
include_tasks: libvirt.yml
remember that computers suck.