From 10d932c6f645e2cf4331ffb249882b9fe8f0e547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 22 Oct 2022 15:14:03 +0200 Subject: roles(workstation): add cronie task --- roles/workstation/tasks/cronie.yml | 10 ++++++++++ roles/workstation/tasks/os_archlinux.yml | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 roles/workstation/tasks/cronie.yml (limited to 'roles/workstation/tasks') 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 -- cgit v1.2.3