From 07b83d4835b6c57dae3648600dd957d47c2d5404 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 23 Mar 2020 18:20:19 +0100 Subject: [PATCH] Get without quotes and always replace --- ansible/post-deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml index 3c62798..3412be2 100644 --- a/ansible/post-deploy.yml +++ b/ansible/post-deploy.yml @@ -47,7 +47,7 @@ state: present - name: Retrieve application container IP address - shell: "dokku ps:inspect gitea | jq .[0].NetworkSettings.IPAddress" + shell: "dokku ps:inspect gitea | jq -r .[0].NetworkSettings.IPAddress" register: dokku_ps_inspect - name: Setup the SSH passthrough script @@ -60,6 +60,7 @@ owner: git group: git mode: "+x" + force: true become: true - name: Symlink the authorized keys configuration