Change ansiblehost role to rerun every 12 hours instead of 24
This renews certs at about the requested rate Hopefully it doesn't break anything. I'm using LTS instances so it should be fine but you never know
This commit is contained in:
parent
9313f26fcb
commit
5034285ac2
@ -46,7 +46,8 @@
|
|||||||
dest: /opt/ansible-repo
|
dest: /opt/ansible-repo
|
||||||
- name: Set up pull and run cronjob
|
- name: Set up pull and run cronjob
|
||||||
cron:
|
cron:
|
||||||
hour: "0"
|
minute: "0"
|
||||||
|
hour: "*/12"
|
||||||
name: ansible-pull
|
name: ansible-pull
|
||||||
job: "cd /opt/ansible-repo && ansible-playbook ec2.yml > /var/log/ansible-pull.log 2>&1"
|
job: "cd /opt/ansible-repo && ansible-playbook ec2.yml > /var/log/ansible-pull.log 2>&1"
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user