Fix variable/tasks name
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2021-06-09 15:41:46 +02:00
parent 9460bc9bd6
commit b33280b443
6 changed files with 10 additions and 7 deletions

View File

@ -1,5 +1,5 @@
---
- hosts: 127.0.0.1
- hosts: localhost
connection: local
gather_facts: false
# become: true

View File

@ -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 }}"

View File

@ -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 }}"

View File

@ -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

View File

@ -6,6 +6,6 @@ packages:
# (libxml2-utils) Dependency for xmllint
- libxml2-utils
pip-packages:
pip_packages:
- pip
- ansible-core