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.
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.