Error in LXD profile name. Force Python3 in Ansible

This commit is contained in:
Jorge Enrique Gómez Gómez 2020-09-29 23:39:15 -05:00
parent ab9c0a3e12
commit 9162b79852
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
- hosts: localhost - hosts: localhost
gather_facts: yes gather_facts: no
ansible_python_interpreter: python3
tasks: tasks:
- name: Verify correct usage of parameter - name: Verify correct usage of parameter
@ -11,6 +12,7 @@
- hosts: localhost - hosts: localhost
gather_facts: yes gather_facts: yes
ansible_python_interpreter: python3
user: sistemas user: sistemas
roles: roles:
- lxchost - lxchost
@ -19,6 +21,7 @@
- hosts: nginx - hosts: nginx
gather_facts: no gather_facts: no
ansible_python_interpreter: python3
roles: roles:
- nginxproxy - nginxproxy
vars: vars:

View File

@ -9,7 +9,7 @@
lxd_container: lxd_container:
name: '{{ container }}' name: '{{ container }}'
ephemeral: no ephemeral: no
profiles: ['odoo'] profiles: ['odoo8']
source: source:
type: image type: image
mode: pull mode: pull