library/roles/drupal-org: The modules directory needs to be writeable by the web server user to permit GUI upgrades.

nemis-website/group_vars/nemis_web_dev/main.yml: OLD db data.
This commit is contained in:
Andrea Dell'Amico 2016-08-11 12:24:57 +02:00
parent 17c267a481
commit b2188ce1bd
2 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,8 @@ drupal_tar_url: 'http://ftp.drupal.org/files/projects/{{ drupal_dist_file }}'
drupal_php_user: drupal
drupal_download_dir: /srv/drupal
drupal_install_dir: /var/www
http_user: www-data
http_group: '{{ http_user }}'
# If you use the PHP ppa to install php 5.6, also install those packages:
#

View File

@ -68,6 +68,12 @@
when: ( unpack_drupal | changed )
tags: drupal
- name: Set the correct ownership of the drupal modules directory
file: dest={{ drupal_install_dir }}/{{ item.virthost }}/modules owner={{ item.user }} group={{ http_group }} recurse=yes state=directory mode=0775
with_items: '{{ phpfpm_pools }}'
when: ( unpack_drupal | changed )
tags: drupal
- name: Remove the original drupal unpacked distribution
file: dest={{ drupal_download_dir }}/{{ drupal_dist_name }} state=absent
when: ( unpack_drupal | changed )