From 0318abbfc4d9468baa7d82811108ffc989ff461b Mon Sep 17 00:00:00 2001 From: Rene Mewissen Date: Wed, 1 Oct 2025 14:23:00 +0200 Subject: [PATCH] ansible cleanup --- ansible.cfg | 2 +- roles/base/tasks/system_setup/cron.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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