Check existence of node types referenced in specs
This commit is contained in:
parent
7e0cc7e16b
commit
7aeb2e971c
@ -1,4 +1,10 @@
|
||||
---
|
||||
- name: Check that all specified node types exist
|
||||
fail:
|
||||
msg: The non-existent node type {{ item }} was specified in 'specs'.
|
||||
when: item not in node_types
|
||||
loop: "{{ specs.keys() }}"
|
||||
|
||||
# Creates a dict mapping each hypervisor's hostname to its hostvars, to be used
|
||||
# during scheduling.
|
||||
- name: Collect hypervisor hostvars
|
||||
|
Loading…
x
Reference in New Issue
Block a user