15 lines
317 B
YAML
15 lines
317 B
YAML
|
- name: "[Arch] Install cron"
|
||
|
become: yes
|
||
|
community.general.pacman:
|
||
|
name:
|
||
|
- cronie
|
||
|
when: ansible_distribution == "Archlinux"
|
||
|
|
||
|
- name: "[Arch] Enable cron service"
|
||
|
become: yes
|
||
|
ansible.builtin.systemd:
|
||
|
name: cronie
|
||
|
state: started
|
||
|
enabled: yes
|
||
|
when: ansible_distribution == "Archlinux"
|