Browse Source

Update upgrade host playbook

playbook updated to match osh and 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: I0861038231e55a392b002d40476c40698d249260
Chris Wedgwood 4 months ago
parent
commit
eaa33974a0
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      tools/gate/playbooks/osh-infra-upgrade-host.yaml

+ 12
- 0
tools/gate/playbooks/osh-infra-upgrade-host.yaml View File

@@ -39,3 +39,15 @@
39 39
     - upgrade-host
40 40
     - start-zuul-console
41 41
     - disable-local-nameserver
42
+
43
+- hosts: all
44
+  vars_files:
45
+    - vars.yaml
46
+  vars:
47
+    work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
48
+  gather_facts: False
49
+  become: yes
50
+  roles:
51
+    - deploy-apparmor
52
+  tags:
53
+    - deploy-apparmor

Loading…
Cancel
Save