disabled cron for ansible-pull for a while
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user