DEAN-ngo / elimupi

Other
3 stars 9 forks source link

Ansible playbook install replay fails #113

Closed ltoning closed 1 year ago

ltoning commented 1 year ago

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

ltoning commented 1 year ago

Issue resolved via https://github.com/DEAN-ngo/elimupihttps://github.com/DEAN-ngo/elimupi/pull/114