Redirect error output;Add debugging;Housekeeping
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-06-29 09:06:13 +02:00
parent a3bbf88ce3
commit 8a83f47572
3 changed files with 9 additions and 1 deletions

View File

@ -2,6 +2,7 @@
ansible.builtin.shell:
cmd: /usr/bin/vmtoolsd --cmd "info-get guestinfo.ovfEnv"
register: ovfenv
- name: Parse XML for vApp properties
community.general.xml:
xmlstring: "{{ ovfenv.stdout }}"
@ -10,6 +11,7 @@
xpath: /ns:Environment/ns:PropertySection/ns:Property
content: attribute
register: ovfenv
- name: Assign vApp properties to dictionary
ansible.builtin.set_fact:
vapp: >-