summaryrefslogtreecommitdiffstats
path: root/roles/cloud_compute/tasks
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2016-07-19 21:01:20 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2016-07-19 21:01:20 +0000
commit13a5acab2a117e12b9c2e8c22ea50b887d9ac38a (patch)
treeabefa5f2b9b3f2cb91710fcb9a397a38f9c4ef5a /roles/cloud_compute/tasks
parentfcb535a1df6c45fa4d34d6ef4899c86929a17fcb (diff)
downloadansible-13a5acab2a117e12b9c2e8c22ea50b887d9ac38a.tar.gz
ansible-13a5acab2a117e12b9c2e8c22ea50b887d9ac38a.tar.xz
ansible-13a5acab2a117e12b9c2e8c22ea50b887d9ac38a.zip
Explicitly disable vnc on ppc
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'roles/cloud_compute/tasks')
-rw-r--r--roles/cloud_compute/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/cloud_compute/tasks/main.yml b/roles/cloud_compute/tasks/main.yml
index e2a028449..f0317edd7 100644
--- a/roles/cloud_compute/tasks/main.yml
+++ b/roles/cloud_compute/tasks/main.yml
@@ -124,6 +124,10 @@
notify:
- restart openstack-nova-compute
when: not inventory_hostname.startswith('fed-cloud-ppc')
+- ini_file: dest=/etc/nova/nova.conf section=DEFAULT option=vnc_enabled value=False
+ notify:
+ - restart openstack-nova-compute
+ when: inventory_hostname.startswith('fed-cloud-ppc')
- ini_file: dest=/etc/nova/nova.conf section=DEFAULT option=vncserver_listen value=0.0.0.0
notify:
- restart openstack-nova-compute