Skip to content
Snippets Groups Projects
Commit 2ca6f89d authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Move the ironic-check action into prechecks.yml"

parents d03b6daf ebf4afda
No related branches found
No related tags found
No related merge requests found
---
- include_tasks: ironic-check.yml
- include_tasks: register.yml
when: inventory_hostname in groups['neutron-server']
......
---
- fail: msg="Ironic must be enabled when using networking-baremetal/ironic-neutron-agent"
when:
- enable_ironic_neutron_agent | bool
- not (enable_ironic | bool)
......@@ -57,3 +57,11 @@
when:
- (groups['inner-compute'] | default([]) | length > 0
or groups['external-compute'] | default([]) | length > 0)
- name: Checking whether Ironic enabled
local_action: fail msg="Ironic must be enabled when using networking-baremetal/ironic-neutron-agent"
changed_when: false
run_once: True
when:
- enable_ironic_neutron_agent | bool
- not (enable_ironic | bool)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment