Compare commits
2 Commits
06ca8d8787
...
c988ab8f9a
Author | SHA1 | Date | |
---|---|---|---|
c988ab8f9a | |||
8864db253b |
@ -81,7 +81,8 @@
|
|||||||
- var_log
|
- var_log
|
||||||
- var_log_audit
|
- var_log_audit
|
||||||
|
|
||||||
- ansible.builtin.set_fact:
|
- name: Assign UUIDs to Variables
|
||||||
|
ansible.builtin.set_fact:
|
||||||
uuid_root: "{{ uuid_result.results[0].stdout_lines }}"
|
uuid_root: "{{ uuid_result.results[0].stdout_lines }}"
|
||||||
uuid_home: "{{ uuid_result.results[1].stdout_lines }}"
|
uuid_home: "{{ uuid_result.results[1].stdout_lines }}"
|
||||||
uuid_var: "{{ uuid_result.results[2].stdout_lines }}"
|
uuid_var: "{{ uuid_result.results[2].stdout_lines }}"
|
||||||
|
@ -31,4 +31,9 @@
|
|||||||
networks:
|
networks:
|
||||||
- vlan: "{{ vlan_name }}"
|
- vlan: "{{ vlan_name }}"
|
||||||
type: dhcp
|
type: dhcp
|
||||||
ignore_errors: true
|
register: vmware_guest_result
|
||||||
|
failed_when:
|
||||||
|
- vmware_guest_result.failed
|
||||||
|
- "'error' in vmware_guest_result"
|
||||||
|
- "'failed' in vmware_guest_result"
|
||||||
|
- vmware_guest_result.rc is defined and vmware_guest_result.rc != 0
|
||||||
|
Loading…
Reference in New Issue
Block a user