summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/post-openstack
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/post-openstack')
-rw-r--r--deploy/adapters/ansible/roles/post-openstack/tasks/main.yml4
-rw-r--r--deploy/adapters/ansible/roles/post-openstack/vars/main.yml4
2 files changed, 6 insertions, 2 deletions
diff --git a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
index d5582391..0bd9aeff 100644
--- a/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/post-openstack/tasks/main.yml
@@ -77,7 +77,7 @@
regexp: "^HORIZON_IMAGES_UPLOAD_MODE"
line: "HORIZON_IMAGES_UPLOAD_MODE = 'legacy'"
when:
- - inventory_hostname in groups['dashboard_containers']
+ - inventory_hostname in groups['horizon']
# yamllint enable rule:line-length
- name: restart apache2
@@ -85,4 +85,4 @@
name: apache2
state: restarted
when:
- - inventory_hostname in groups['dashboard_containers']
+ - inventory_hostname in groups['horizon']
diff --git a/deploy/adapters/ansible/roles/post-openstack/vars/main.yml b/deploy/adapters/ansible/roles/post-openstack/vars/main.yml
index d9c36d42..ed64c8db 100644
--- a/deploy/adapters/ansible/roles/post-openstack/vars/main.yml
+++ b/deploy/adapters/ansible/roles/post-openstack/vars/main.yml
@@ -43,3 +43,7 @@ flavors:
vcpus: 8
ram: 16384
disk: 160
+
+# yamllint disable rule:line-length
+openstack_release: "{{ lookup('yamlfile', '/opt/openstack-ansible/group_vars/all/all.yml key=openstack_release') }}"
+# yamllint enable rule:line-length