Add jobs to keep flatpaks up to date - tired of frequently seeing pop shop notification icon and having two commands to run. :P
This commit is contained in:
parent
ca001d7d2b
commit
aae6d71f96
22
tasks/linux/cron/ansible.yml
Normal file
22
tasks/linux/cron/ansible.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
# Cron jobs specific to FreeBSD
|
||||||
|
|
||||||
|
- name: General | Cron | Ansible | Linux | Update System Flatpaks
|
||||||
|
cron:
|
||||||
|
user: ansible
|
||||||
|
name: "Update System FLatpaks"
|
||||||
|
special_time: hourly
|
||||||
|
job: "sudo flatpak update"
|
||||||
|
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 flatpak update"
|
||||||
|
state: present
|
||||||
|
disabled: no
|
||||||
|
when: flatpak_distro
|
Loading…
x
Reference in New Issue
Block a user