disabled cron for ansible

This commit is contained in:
rene committed 2022-03-24 15:35:58 +01:00
1 parent 1ecda17b1d
commit c025e7c78b
1 file changed
+15 -15
+15 -15
View File
@@ -13,22 +13,22 @@
enabled: true
when: ansible_distribution == "Archlinux"
- name: system setup | cron | schedule automatic ansible provisioning
tags: cron
cron:
name: "ansible provision"
user: ansible
hour: "{{ ansible_cron_hour | default('*') }}"
minute: "{{ ansible_cron_minute | default('*/30') }}"
job: "/usr/local/bin/provision > /dev/null"
# - name: system setup | cron | schedule automatic ansible provisioning
# tags: cron
# cron:
# name: "ansible provision"
# user: ansible
# hour: "{{ ansible_cron_hour | default('*') }}"
# minute: "{{ ansible_cron_minute | default('*/30') }}"
# job: "/usr/local/bin/provision > /dev/null"
- name: system setup | cron | schedule ansible cleanup at boot
tags: cron
cron:
name: "ansible refresh at boot"
user: ansible
special_time: reboot
job: "/bin/rm -rf /home/ansible/.ansible"
# - name: system setup | cron | schedule ansible cleanup at boot
# tags: cron
# cron:
# name: "ansible refresh at boot"
# user: ansible
# special_time: reboot
# job: "/bin/rm -rf /home/ansible/.ansible"
- name: system setup | cron | Send me a list of upgradeable packages daily
tags: cron