enabled cron task

This commit is contained in:
2025-04-14 18:15:36 +02:00
parent 9172a2a29a
commit 36d136ec31

View File

@@ -13,16 +13,16 @@
enabled: true
when: ansible_distribution == "Archlinux"
# - name: "add cronjob for ansible"
# become: true
# become_user: root
# 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'
# state: present
# minute: 0
# hour: 1
- name: "add cronjob for ansible"
become: true
become_user: root
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'
state: present
minute: 0
hour: 1
# - name: system setup | cron | schedule automatic ansible provisioning
# tags: cron