mirror of
https://github.com/hanzo-io/cloud.git
synced 2026-10-30 18:57:42 +00:00
18 lines
431 B
YAML
18 lines
431 B
YAML
---
|
|
- name: Add Primary Proxy Server Public Key to Authorized Keys
|
|
authorized_key:
|
|
user: frappe
|
|
key: '{{ primary_public_key }}'
|
|
state: present
|
|
|
|
- name: Add cron to reload nginx every 5 mins
|
|
cron:
|
|
name: reload_nginx
|
|
minute: '*/5'
|
|
job: 'sudo systemctl reload nginx'
|
|
|
|
- name: Ensure agent is up and running # Might be stopped during previous failover
|
|
supervisorctl:
|
|
name: 'agent:'
|
|
state: started
|