Try different location for python var in LXD

This commit is contained in:
Jorge Enrique Gómez Gómez 2020-09-30 00:13:23 -05:00
parent 07e9cd6b6b
commit feb54073ad
3 changed files with 2 additions and 3 deletions

2
hosts
View File

@ -1,2 +1,2 @@
localhost ansible_connection=local ansible_python_interpreter=python3
nginx ansible_connection=lxd ansible_python_interpreter=python3
nginx ansible_connection=lxd

View File

@ -23,3 +23,4 @@
- nginxproxy
vars:
dominio: agofer.net
ansible_python_interpreter: python3

View File

@ -23,5 +23,3 @@
uri:
url: 'https://api.dreamhost.com/?key={{ apikey }}&cmd=dns-add_record&record={{ container }}.{{ dominio }}&type=CNAME&value=externo.{{ dominio }}.'
# shell:
# cmd: curl "https://api.dreamhost.com/?key={{ apikey }}&cmd=dns-add_record&record={{ container }}.{{ dominio }}&type=CNAME&value=externo.{{ dominio }}."