Don't overwrite vars

This commit is contained in:
Luke Murphy 2020-03-23 18:17:29 +01:00
parent ab0f850931
commit 164bfc3412
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -48,12 +48,12 @@
- name: Retrieve application container IP address
shell: "dokku ps:inspect gitea | jq .[0].NetworkSettings.IPAddress"
register: dokku_container_ip
register: dokku_ps_inspect
- name: Setup the SSH passthrough script
vars:
ssh_listen_port: "{{ ssh_listen_port }}"
dokku_container_ip: "{{ dokku_container_ip.stdout }}"
dokku_container_ip: "{{ dokku_ps_inspect.stdout }}"
template:
src: gitea.j2
dest: /app/gitea/gitea