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

View File

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