ansible-desktop/roles/desktop/tasks/cron.yml

15 lines
317 B
YAML
Raw Normal View History

2024-05-11 10:55:24 +00:00
- 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"