Add git pull operation to backup role
This commit is contained in:
parent
e62e11c739
commit
eb82a501f3
|
@ -16,6 +16,7 @@ fi
|
|||
|
||||
cd {{ backup_folder }}/{{ backup_user_git }}/{{ (git_repo | basename | splitext)[0] }}
|
||||
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git fetch --all
|
||||
GIT_SSH_COMMAND="ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" git pull
|
||||
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue