diff --git a/ansible.cfg b/ansible.cfg index 41f1677..2ff5c01 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -2,6 +2,6 @@ inventory = /opt/ansible-pull/hosts log_path = ~/ansible.log retry_files_enabled = False -deprecation_warnings=False +deprecation_warnings = True [inventory] enable_plugins = ini diff --git a/roles/base/tasks/system_setup/cron.yml b/roles/base/tasks/system_setup/cron.yml index 591f0d0..d47588e 100644 --- a/roles/base/tasks/system_setup/cron.yml +++ b/roles/base/tasks/system_setup/cron.yml @@ -19,7 +19,7 @@ cron: name: "ansible provision" user: "{{ ansible_user_id }}" - job: 'ansible-pull --vault-password-file=~/.vaultpass -U "https://gitea.mewissen.site/rene/ansible-pull.git" -d "/opt/ansible-pull" -C master' + job: 'ansible-pull --vault-password-file=~/.vaultpass -U "https://gitea.mewissen.site/rene/ansible-pull.git" -d "/opt/ansible-pull" -C master > /var/log/ansible_pull.log || cat /var/log/ansible_pull.log' state: present minute: 0 hour: 1