Don't overwrite vars
This commit is contained in:
parent
ab0f850931
commit
164bfc3412
@ -48,12 +48,12 @@
|
|||||||
|
|
||||||
- name: Retrieve application container IP address
|
- name: Retrieve application container IP address
|
||||||
shell: "dokku ps:inspect gitea | jq .[0].NetworkSettings.IPAddress"
|
shell: "dokku ps:inspect gitea | jq .[0].NetworkSettings.IPAddress"
|
||||||
register: dokku_container_ip
|
register: dokku_ps_inspect
|
||||||
|
|
||||||
- name: Setup the SSH passthrough script
|
- name: Setup the SSH passthrough script
|
||||||
vars:
|
vars:
|
||||||
ssh_listen_port: "{{ ssh_listen_port }}"
|
ssh_listen_port: "{{ ssh_listen_port }}"
|
||||||
dokku_container_ip: "{{ dokku_container_ip.stdout }}"
|
dokku_container_ip: "{{ dokku_ps_inspect.stdout }}"
|
||||||
template:
|
template:
|
||||||
src: gitea.j2
|
src: gitea.j2
|
||||||
dest: /app/gitea/gitea
|
dest: /app/gitea/gitea
|
||||||
|
Reference in New Issue
Block a user