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

View File

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