|
@@ -37,7 +37,7 @@
|
|
|
host_network_dhcp_end_range | length < 1 or
|
|
|
provision_method | length < 1 or
|
|
|
default_lease_time | length < 1
|
|
|
-
|
|
|
+
|
|
|
- name: Validate default lease time
|
|
|
assert:
|
|
|
that:
|
|
@@ -205,12 +205,14 @@
|
|
|
- name : Assert iso_file_path
|
|
|
fail:
|
|
|
msg: "{{ invalid_iso_file_path }}"
|
|
|
- when: ( not result_path_iso_file.stat.exists ) and ( ".iso" not in iso_file_path )
|
|
|
+ when: not result_path_iso_file.stat.exists
|
|
|
|
|
|
- name: Fail when iso path valid but image not right
|
|
|
fail:
|
|
|
msg: "{{ invalid_iso_file_path }}"
|
|
|
- when: ( result_path_iso_file.stat.exists ) and ( ".iso" not in iso_file_path )
|
|
|
+ when:
|
|
|
+ - result_path_iso_file.stat.exists
|
|
|
+ - '".iso" not in iso_file_path'
|
|
|
|
|
|
#### management_net_dhcp_start_end_range
|
|
|
- name: Assert management network nic
|