Error in LXD profile name. Force Python3 in Ansible
This commit is contained in:
parent
ab9c0a3e12
commit
9162b79852
@ -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:
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user