Ansible playbook install replay fails with errors.
This limits the abilty to run the playbook a second time in case of errors during an install or when getting an existing ElimuPi image in sync with the current install base.
This concerns the Moodle and LDAP install phases:
TASK [common : Clone moodle] **
fatal: [raspberrypi]: FAILED! => {"changed": false, "msg": "Failed to set a new url https://github.com/moodle/moodle.git for origin: fatal: detected dubious ownership in repository at '/var/moodle'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /var/moodle\n"}
Ansible playbook install replay fails with errors. This limits the abilty to run the playbook a second time in case of errors during an install or when getting an existing ElimuPi image in sync with the current install base.
This concerns the Moodle and LDAP install phases:
TASK [common : Clone moodle] ** fatal: [raspberrypi]: FAILED! => {"changed": false, "msg": "Failed to set a new url https://github.com/moodle/moodle.git for origin: fatal: detected dubious ownership in repository at '/var/moodle'\nTo add an exception for this directory, call:\n\n\tgit config --global --add safe.directory /var/moodle\n"}
PLAY RECAP **** raspberrypi : ok=48 changed=1 unreachable=0 failed=1 skipped=24 rescued=0 ignored=0