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
This commit is contained in:
Clark Boylan 2019-10-04 10:12:18 -07:00
parent 9d8cb09def
commit 1bd2020251
1 changed files with 4 additions and 0 deletions

View File

@ -97,6 +97,10 @@
path: /var/run/zuul/executor.pid
state: absent
timeout: 11400
- name: Update the ansible installations
command: zuul-manage-ansible -u
environment:
ANSIBLE_EXTRA_PACKAGES: gear
- name: Start Zuul Executors
service:
name: zuul-executor