This change on the remote machine prevents git from attempting to re-clone the repo.
Suggestions
Change the file permissions on the offending file and commit to git. This will mean that there is no mismatch between the files under git and the file permissions after change.
Resolving #39 may help, as after this there may no longer be a need to change file permissions of this repository.
Attempting to re-run the
deployment/deploy.yml
playbook after already installing causes an issue.This appears to be due to the fact that file permissions in
/var/www
when the playbook is first run - i.e. here: https://github.com/devinit/grand-bargain-monitoring/blob/deployment/deployment/deploy.yml#L67-L68This change on the remote machine prevents git from attempting to re-clone the repo.
Suggestions