From f7a2c5fd27736761a5d33a73448863dde6d4226c 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..20f4d14101 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