5 Commits

Author SHA1 Message Date
Monty Taylor
2a7c755a08 Rework zuul start/stop/restart playbooks for docker
If we need to start and stop, it's best to use playbooks.

We already have tasks files with start commands in each role,
so put the stop commands into similar task files.

Make the restart playbook import_playbook the stop and start
playbooks to reduce divergence.

Use the graceful shutdown pattern from the gerrit docker-compose
to stop the zuul scheduler.

Change-Id: Ia20124553821f4b41186bce6ba2bff6ca2333a99
2020-04-27 09:34:50 -05:00
Clark Boylan
1bd2020251 Update zuul ansible installs when restarting zuul
This change adds a task to the zuul restart playbook to update the zuul
ansible installs on the executors during the restart. This will help
ensure we keep our ansible installs there up to date.

Change-Id: I443e204eaa69dcf0c5622303201549224e893626
2019-10-04 10:12:18 -07:00
James E. Blair
f99b72fd0c Correct typo in zuul restart playbook
This is very confusing when watching the output.

Change-Id: I555f8ac1689192f40af509db1a85890250fda027
2019-01-23 08:53:42 -08:00
Joshua Hesketh
600d87ffe5 Use host groups for zuul playbooks
Rather than list the hostnames individually, use the inventory group.

Change-Id: I554fb33f26c31df5f97ffd5be61f6d3e17faefa5
2018-09-12 12:26:43 -06:00
James E. Blair
3e1666687c Add playbooks to start/stop/restart zuul
Remove some old ones which were in the wrong place and out of date.

Change-Id: I4303e66edc7d3dc00c455a0990b0b3be0f5f91a6
Depends-On: https://review.openstack.org/586699
2018-07-27 14:32:46 -07:00