diff --git a/roles/cloud_compute/tasks/main.yml b/roles/cloud_compute/tasks/main.yml index 59844872d8..e2a0284492 100644 --- a/roles/cloud_compute/tasks/main.yml +++ b/roles/cloud_compute/tasks/main.yml @@ -123,7 +123,7 @@ - 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 + when: not 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