From c025e7c78bc79cf563f8d42eb0c3da0ee1f3f5e8 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 24 Mar 2022 15:34:19 +0100 Subject: [PATCH] disabled cron for ansible --- roles/base/tasks/system_setup/cron.yml | 30 +++++++++++++------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/roles/base/tasks/system_setup/cron.yml b/roles/base/tasks/system_setup/cron.yml index f91e9d7..82e15c5 100644 --- a/roles/base/tasks/system_setup/cron.yml +++ b/roles/base/tasks/system_setup/cron.yml @@ -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