From e59a120fc2b0b0b535dc337540951decb5a75d36 Mon Sep 17 00:00:00 2001 From: jowj Date: Tue, 28 May 2019 15:01:13 -0500 Subject: [PATCH] Fix an issue with the mojo deploy steps. --- deployments/awful-1/deploy.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/deployments/awful-1/deploy.yml b/deployments/awful-1/deploy.yml index 1a44035..2dd74bb 100644 --- a/deployments/awful-1/deploy.yml +++ b/deployments/awful-1/deploy.yml @@ -71,13 +71,10 @@ command: hostname register: hostname - debug: msg="{{ hostname.stdout }}" - - name: print working directory - shell: ls -la | grep 'mojo' - register: ls - - debug: msg="{{ ls.stdout }}" - name: Pull latest version from github, or log an error if the dir doesn't exist' shell: cd /home/josiah/mojojojo-bot/ && git pull register: result + ignore_errors: True - name: If previous step failed, clone repo down shell: cd /home/josiah/ && git clone https://github.com/jowj/mojojojo-bot.git when: result is failed