Fix variable/tasks name
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9460bc9bd6
commit
b33280b443
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: 127.0.0.1
|
- hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
# become: true
|
# become: true
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
- name: Store current vApp configuration
|
- name: Store current vApp configuration
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: vmtoolsd --cmd "info-get guestinfo.ovfEnv"
|
cmd: vmtoolsd --cmd "info-get guestinfo.ovfEnv"
|
||||||
register: ovfEnv
|
register: ovfenv
|
||||||
|
- name: DEBUG variable contents
|
||||||
|
ansible.builtin.debug:
|
||||||
|
ovfenv
|
||||||
- name: Parse XML into variables
|
- name: Parse XML into variables
|
||||||
community.general.xml:
|
community.general.xml:
|
||||||
xmlstring: "{{ ovfEnv }}"
|
xmlstring: "{{ ovfEnv }}"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
- name: Install pip-packages
|
- name: Install ansible through pip3
|
||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
executable: pip3
|
executable: pip3
|
||||||
state: latest
|
state: latest
|
||||||
loop: "{{ pip-packages }}"
|
loop: "{{ pip_packages }}"
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
- name: Remove cloud-init
|
- name: Remove cloud-init
|
||||||
import_tasks: cloud-init.yml
|
import_tasks: cloud-init.yml
|
||||||
|
|
||||||
- name: Configure network
|
- name: Configure services
|
||||||
import_tasks: network.yml
|
import_tasks: services.yml
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
import_tasks: packages.yml
|
import_tasks: packages.yml
|
||||||
|
@ -6,6 +6,6 @@ packages:
|
|||||||
# (libxml2-utils) Dependency for xmllint
|
# (libxml2-utils) Dependency for xmllint
|
||||||
- libxml2-utils
|
- libxml2-utils
|
||||||
|
|
||||||
pip-packages:
|
pip_packages:
|
||||||
- pip
|
- pip
|
||||||
- ansible-core
|
- ansible-core
|
||||||
|
Loading…
Reference in New Issue
Block a user