diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-10-22 15:14:03 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2022-10-22 15:14:03 +0200 |
commit | 10d932c6f645e2cf4331ffb249882b9fe8f0e547 (patch) | |
tree | 555235f0351f6d8dd613fca598d0dd3064be3a4b | |
parent | c8de512a98462327b909311d2f89c90c32fb9246 (diff) | |
download | rules-10d932c6f645e2cf4331ffb249882b9fe8f0e547.tar.gz |
roles(workstation): add cronie task
-rw-r--r-- | roles/workstation/tasks/cronie.yml | 10 | ||||
-rw-r--r-- | roles/workstation/tasks/os_archlinux.yml | 3 |
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 |