Skip to content

Commit

Permalink
Limit agent restarts preventing pollers from going out of sync (#393)
Browse files Browse the repository at this point in the history
* Limit agent restarts to help prevent private pollers from getting out of sync (temporary workaround)

* Add maas_restart_serial for overriding this value

(cherry picked from commit 7e32dd1)
  • Loading branch information
npawelek authored and cloudnull committed Nov 14, 2017
1 parent 030e580 commit 4547177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playbooks/maas-restart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- name: Restart MaaS
hosts: "{{ maas_restart_on_host_override | default('maas_restart_on_host') }}"
gather_facts: false
serial: "{{ maas_restart_serial | default(1) }}"
tasks:
- name: Restart rackspace-monitoring-poller (systemd)
service:
Expand Down

0 comments on commit 4547177

Please sign in to comment.