summaryrefslogtreecommitdiffstats
path: root/roles/cloud_compute
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2016-07-18 14:45:32 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2016-07-18 21:49:07 +0000
commitcf5a38ebdad9dd6398af9539b4987c3c5306ea05 (patch)
tree5648051cc545862c820ac72d618fb15c027c5911 /roles/cloud_compute
parent90b8c96e6c45f7be7c7cf30f8ced74ff1f6044c6 (diff)
downloadansible-cf5a38ebdad9dd6398af9539b4987c3c5306ea05.tar.gz
ansible-cf5a38ebdad9dd6398af9539b4987c3c5306ea05.tar.xz
ansible-cf5a38ebdad9dd6398af9539b4987c3c5306ea05.zip
Theres no VGA on ppc
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'roles/cloud_compute')
-rw-r--r--roles/cloud_compute/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/cloud_compute/tasks/main.yml b/roles/cloud_compute/tasks/main.yml
index 71c722cc2..59844872d 100644
--- a/roles/cloud_compute/tasks/main.yml
+++ b/roles/cloud_compute/tasks/main.yml
@@ -119,9 +119,11 @@
- ini_file: dest=/etc/nova/nova.conf section=DEFAULT option=my_ip value={{compute_private_ip}}
notify:
- restart openstack-nova-compute
+# Cirrus VGA is not available on PPC, thus no VNC
- ini_file: dest=/etc/nova/nova.conf section=DEFAULT option=vnc_enabled value=True
notify:
- restart openstack-nova-compute
+ when: 'ppc' not in ansible_hostname
- ini_file: dest=/etc/nova/nova.conf section=DEFAULT option=vncserver_listen value=0.0.0.0
notify:
- restart openstack-nova-compute