From f0c61d4b6d697d460dc60f127ceb204792cbec8b Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Sun, 19 Feb 2017 00:46:35 +0800 Subject: [PATCH] Disable nova-compute when enable_ironic is yes Change-Id: Icb77da008247609e9e1ce45770c9925d9b416739 Closes-Bug: #1665905 --- ansible/roles/nova/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/nova/defaults/main.yml b/ansible/roles/nova/defaults/main.yml index ac9f569366..e4e0f7ca0c 100644 --- a/ansible/roles/nova/defaults/main.yml +++ b/ansible/roles/nova/defaults/main.yml @@ -112,7 +112,7 @@ nova_services: group: "compute" image: "{{ nova_compute_image_full }}" privileged: True - enabled: "{{ not enable_nova_fake | bool or not enable_ironic | bool }}" + enabled: "{{ not enable_nova_fake | bool and not enable_ironic | bool }}" volumes: - "{{ node_config_directory }}/nova-compute/:{{ container_config_directory }}/:ro" - "/etc/localtime:/etc/localtime:ro"