Try a different way to force Python3 in Ansible
This commit is contained in:
parent
9162b79852
commit
32731ff034
4
hosts
4
hosts
@ -1,2 +1,2 @@
|
|||||||
localhost ansible_connection=local
|
localhost ansible_connection=local ansible_python_interpreter=python3
|
||||||
nginx ansible_connection=lxd
|
nginx ansible_connection=lxd ansible_python_interpreter=python3
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
ansible_python_interpreter: python3
|
|
||||||
tasks:
|
tasks:
|
||||||
|
|
||||||
- name: Verify correct usage of parameter
|
- name: Verify correct usage of parameter
|
||||||
@ -12,7 +11,6 @@
|
|||||||
|
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
gather_facts: yes
|
gather_facts: yes
|
||||||
ansible_python_interpreter: python3
|
|
||||||
user: sistemas
|
user: sistemas
|
||||||
roles:
|
roles:
|
||||||
- lxchost
|
- lxchost
|
||||||
@ -21,7 +19,6 @@
|
|||||||
|
|
||||||
- hosts: nginx
|
- hosts: nginx
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
ansible_python_interpreter: python3
|
|
||||||
roles:
|
roles:
|
||||||
- nginxproxy
|
- nginxproxy
|
||||||
vars:
|
vars:
|
||||||
|
|||||||
Reference in New Issue
Block a user