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

Optimize mode and ownership changes

parent 56711f87
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,10 @@
# file: roles/drupal/tasks/install.yml
- name: 'Drupal | Change mode for web server files'
command: chmod -R g+w /var/www
file:
path=/var/www
mode=g+w
recurse=yes
- name: "Drupal | Create script to determine which trees do not yet exist"
template:
......@@ -75,4 +78,6 @@
when: item.root in drupal_missing_repos.stdout_lines and item.src.mode == 'gitscript'
- name: 'Drupal | Change mode for web server root directory'
command: chmod 755 /var/www
file:
path=/var/www
mode=755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment