From 1bd2020251abd58c90a042f3e466b1b1060532b1 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 4 Oct 2019 10:12:18 -0700 Subject: [PATCH] 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 --- playbooks/zuul_restart.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/zuul_restart.yaml b/playbooks/zuul_restart.yaml index c41e0feacc..8abef887ef 100644 --- a/playbooks/zuul_restart.yaml +++ b/playbooks/zuul_restart.yaml @@ -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