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

Allow custom directories to be made readonly

parent 8c81cf73
No related branches found
No related tags found
No related merge requests found
......@@ -259,6 +259,19 @@
when: drupal.install_extra_dirs|default(true)
ignore_errors: yes
- name: Make custom directories readonly
file:
path: '{{ webRoot }}/{{ item }}'
mode: ug-w
recurse: yes
follow: no
with_items: '{{ drupal.readonly|default([]) }}'
tags:
- deploy
- SetPermissions
when: drupal.install_extra_dirs|default(true)
ignore_errors: yes
- name: Setup Crontabs for each domain
cron:
name: Drupal {{ item.1.name }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment