diff --git a/ansible/roles/ironic/tasks/deploy.yml b/ansible/roles/ironic/tasks/deploy.yml index bf32d69f35..f135ada713 100644 --- a/ansible/roles/ironic/tasks/deploy.yml +++ b/ansible/roles/ironic/tasks/deploy.yml @@ -1,6 +1,6 @@ --- - import_tasks: register.yml - when: enable_keystone | bool + when: ironic_enable_keystone_integration | bool - import_tasks: config-host.yml diff --git a/ansible/roles/ironic/templates/ironic-inspector.conf.j2 b/ansible/roles/ironic/templates/ironic-inspector.conf.j2 index e3d87dfc24..2e5e58fbfc 100644 --- a/ansible/roles/ironic/templates/ironic-inspector.conf.j2 +++ b/ansible/roles/ironic/templates/ironic-inspector.conf.j2 @@ -19,7 +19,7 @@ ssl_ca_file = {{ om_rabbitmq_cacert }} {% endif %} [ironic] -{% if enable_keystone | bool %} +{% if ironic_enable_keystone_integration | bool %} auth_url = {{ keystone_admin_url }} auth_type = password project_domain_id = {{ default_project_domain_id }} @@ -35,7 +35,7 @@ auth_type = none endpoint_override = {{ ironic_internal_endpoint }} {% endif %} -{% if enable_keystone | bool %} +{% if ironic_enable_keystone_integration | bool %} [keystone_authtoken] www_authenticate_uri = {{ keystone_internal_url }} auth_url = {{ keystone_admin_url }}