File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 11
11
- ssh_key_path != None
12
12
fail_msg : " Please provide a path to the SSH key used within the multinode environment."
13
13
14
+ - name : Verify ssh key exists
15
+ ansible.builtin.assert :
16
+ that :
17
+ - ssh_key_path | expanduser is exists
18
+ fail_msg : " Could not find SSH key at {{ ssh_key_path | expanduser }}"
19
+
20
+ - name : Verify vault password path has been set
21
+ ansible.builtin.assert :
22
+ that :
23
+ - vault_password_path != None
24
+ fail_msg : " Please provide a path to the vault password used within the multinode environment."
25
+
26
+ - name : Verify vault password exists
27
+ ansible.builtin.assert :
28
+ that :
29
+ - vault_password_path | expanduser is exists
30
+ fail_msg : " Could not find vault password at {{ vault_password_path | expanduser }}"
31
+
14
32
- name : Verify VXLAN VNI has been set
15
33
ansible.builtin.assert :
16
34
that :
17
35
- vxlan_vni != None
36
+ - vxlan_vni | int > 0
37
+ - vxlan_vni | int <= 100000
18
38
fail_msg : " Please provide a VXLAN VNI. A unique value from 1 to 100,000."
19
39
20
40
- name : Gather facts about the host
You can’t perform that action at this time.
0 commit comments