disabled cron for ansible-pull for a while
This commit is contained in:
@@ -13,16 +13,16 @@
|
|||||||
enabled: true
|
enabled: true
|
||||||
when: ansible_distribution == "Archlinux"
|
when: ansible_distribution == "Archlinux"
|
||||||
|
|
||||||
- name: "add cronjob for ansible"
|
# - name: "add cronjob for ansible"
|
||||||
become: true
|
# become: true
|
||||||
become_user: root
|
# become_user: root
|
||||||
cron:
|
# cron:
|
||||||
name: "ansible provision"
|
# name: "ansible provision"
|
||||||
user: "{{ ansible_user_id }}"
|
# 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'
|
||||||
state: present
|
# state: present
|
||||||
minute: 0
|
# minute: 0
|
||||||
hour: 1
|
# hour: 1
|
||||||
|
|
||||||
# - name: system setup | cron | schedule automatic ansible provisioning
|
# - name: system setup | cron | schedule automatic ansible provisioning
|
||||||
# tags: cron
|
# tags: cron
|
||||||
|
|||||||
Reference in New Issue
Block a user