From 3b72c4f5f5c9fa0b3bc49101df7c3a4b69ddbf7e Mon Sep 17 00:00:00 2001 From: Scott Walkinshaw Date: Tue, 4 Jan 2022 14:13:52 -0500 Subject: [PATCH] Fix #970 - Improve git clone failure error Outputs the original stderr message as well in case of failure. --- roles/deploy/tasks/update.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/deploy/tasks/update.yml b/roles/deploy/tasks/update.yml index fb8831e24f..92ac949b00 100644 --- a/roles/deploy/tasks/update.yml +++ b/roles/deploy/tasks/update.yml @@ -39,6 +39,9 @@ More info: > https://roots.io/trellis/docs/deploys/#ssh-keys > https://roots.io/trellis/docs/ssh-keys/#cloning-remote-repo-using-ssh-agent-forwarding + + Error: + {{ git_clone.stderr }} when: git_clone is failed - name: Remove untracked files from project folder