From e633b33e787512cdb747fcdf9a6eba3a99cd114d Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Tue, 11 Dec 2018 12:10:20 -0600 Subject: [PATCH] Update upgrade host playbook in osh to match osh-infra This updates the upgrade host playbook in openstack-helm to match the playbook used in openstack-helm-infra. The recent addition of adding an apparmor profile to the calico chart requires us to do the same setup on hosts in the openstack-helm jobs before attempting to deploy calico Change-Id: I264ba4ee8a2f24ffcbb36e28f6b91bbc114b406d --- tools/gate/playbooks/osh-infra-upgrade-host.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/gate/playbooks/osh-infra-upgrade-host.yaml b/tools/gate/playbooks/osh-infra-upgrade-host.yaml index 495b5cb99c..3a2b79bb9f 100644 --- a/tools/gate/playbooks/osh-infra-upgrade-host.yaml +++ b/tools/gate/playbooks/osh-infra-upgrade-host.yaml @@ -39,3 +39,15 @@ - upgrade-host - start-zuul-console - disable-local-nameserver + +- hosts: all + vars_files: + - vars.yaml + vars: + work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}" + gather_facts: False + become: yes + roles: + - deploy-apparmor + tags: + - deploy-apparmor