env-ansible/tasks/linux/cron/ansible.yml

22 lines
557 B
YAML
Raw Normal View History

---
2021-02-07 13:13:13 -06:00
# Cron jobs specific to Linux
- name: General | Cron | Ansible | Linux | Update System Flatpaks
cron:
user: ansible
2021-02-07 13:08:51 -06:00
name: "Update System Flatpaks"
special_time: hourly
job: "sudo flatpak update --noninteractive"
state: present
disabled: no
when: flatpak_distro
- name: General | Cron | Ansible | Linux | Update User Flatpaks
cron:
user: ansible
name: "Update User Flatpaks"
special_time: hourly
job: "sudo -u ling flatpak update --noninteractive"
state: present
disabled: no
when: flatpak_distro