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
|
||||
gather_facts: false
|
||||
# become: true
|
||||
|
@ -1,7 +1,10 @@
|
||||
- name: Store current vApp configuration
|
||||
ansible.builtin.shell:
|
||||
cmd: vmtoolsd --cmd "info-get guestinfo.ovfEnv"
|
||||
register: ovfEnv
|
||||
register: ovfenv
|
||||
- name: DEBUG variable contents
|
||||
ansible.builtin.debug:
|
||||
ovfenv
|
||||
- name: Parse XML into variables
|
||||
community.general.xml:
|
||||
xmlstring: "{{ ovfEnv }}"
|
||||
|
@ -1,6 +1,6 @@
|
||||
- name: Install pip-packages
|
||||
- name: Install ansible through pip3
|
||||
ansible.builtin.pip:
|
||||
name: "{{ item }}"
|
||||
executable: pip3
|
||||
state: latest
|
||||
loop: "{{ pip-packages }}"
|
||||
loop: "{{ pip_packages }}"
|
||||
|
@ -4,8 +4,8 @@
|
||||
- name: Remove cloud-init
|
||||
import_tasks: cloud-init.yml
|
||||
|
||||
- name: Configure network
|
||||
import_tasks: network.yml
|
||||
- name: Configure services
|
||||
import_tasks: services.yml
|
||||
|
||||
- name: Install packages
|
||||
import_tasks: packages.yml
|
||||
|
@ -6,6 +6,6 @@ packages:
|
||||
# (libxml2-utils) Dependency for xmllint
|
||||
- libxml2-utils
|
||||
|
||||
pip-packages:
|
||||
pip_packages:
|
||||
- pip
|
||||
- ansible-core
|
||||
|
Loading…
Reference in New Issue
Block a user