geoffreyvanwyk / ansible-role-moodle

Deploys, installs, and upgrades Moodle.
https://galaxy.ansible.com/ui/standalone/roles/geoffreyvanwyk/moodle/
GNU General Public License v3.0
2 stars 1 forks source link

Do not own existing parent of deployment destination directory #24

Closed geoffreyvanwyk closed 8 months ago

geoffreyvanwyk commented 1 year ago

If the parent of the deployment destination directory, {{ moodle_deploy_destination | dirname }}, already exists, it should keep its original owner, group and mode to avoid any unforeseen repurcussions.

Rather use access control lists to give the Ansible user write access to it.

geoffreyvanwyk commented 8 months ago

This is already the case. See https://github.com/geoffreyvanwyk/ansible-role-moodle/blob/master/tasks/deploy_source_code.yml#L49