kolla-bifrost: Add precheck for inspection allocation pool
Change-Id: I73fad29af6a57b29afea46947d1ae90546253a2a
This commit is contained in:
parent
14bcaba0a3
commit
1e2ac5eb28
@ -1,4 +1,12 @@
|
||||
---
|
||||
- name: Check if inspection allocation is defined
|
||||
assert:
|
||||
that:
|
||||
- kolla_bifrost_dhcp_pool_start | length > 0
|
||||
- kolla_bifrost_dhcp_pool_end | length > 0
|
||||
- kolla_bifrost_dhcp_pool_mask | length > 0
|
||||
fail_msg: "Inspection allocation pool for provisioning network is not properly defined"
|
||||
|
||||
- name: Ensure the Kolla Bifrost configuration directories exist
|
||||
file:
|
||||
path: "{{ kolla_node_custom_config_path }}/bifrost"
|
||||
|
Loading…
Reference in New Issue
Block a user