Skip to content
Snippets Groups Projects
Commit b0d3e37c authored by jurgenhaas's avatar jurgenhaas
Browse files

#15 Fix the bug where the cron script was confusing file permissions

parent 618d2410
Branches
No related tags found
No related merge requests found
...@@ -28,6 +28,4 @@ ...@@ -28,6 +28,4 @@
- name: "Extended File Modes and Ownership for Repository" - name: "Extended File Modes and Ownership for Repository"
command: setfacl -Rm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }} command: setfacl -Rm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}
tags: tags: 'SetPermissions'
- 'SetPermissions'
- 'cron'
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
- name: "Extended File Modes and Ownership for Repository" - name: "Extended File Modes and Ownership for Repository"
command: setfacl -Rm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}{{ drupal.src.git.target }} command: setfacl -Rm u:root:rwX,g:{{ drupal.src.name }}:rwX,o::rX {{ webRoot }}{{ drupal.src.git.target }}
- include_tasks: gitscript_cron.yml tags: 'SetPermissions'
when: drupal.src.cron is defined
- include_tasks: gitscript_cron.yml
when: drupal.src.cron is defined
tags: 'cron'
tags:
- 'SetPermissions'
- 'cron'
...@@ -26,6 +26,4 @@ ...@@ -26,6 +26,4 @@
user='root' user='root'
disabled='{{ crons_disabled|default(false) }}' disabled='{{ crons_disabled|default(false) }}'
tags: tags: 'SetPermissions'
- 'SetPermissions'
- 'cron'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment