Drupal: Fix some obsoleted parts, ad php-fpm as dependency, fix the php packages list.

This commit is contained in:
Andrea Dell'Amico 2020-03-21 16:56:57 +01:00
parent 4a4f623b47
commit 8331f98490
4 changed files with 14 additions and 6 deletions

View File

@ -2,8 +2,11 @@
drupal_install: False
drupal_install_deb: False
drupal_maintenance_cron: False
drupal_major: 8
drupal_version: '{{ drupal_major_ver }}.1.7'
drupal_major_ver: 8
drupal_major: '{{ drupal_major_ver }}'
drupal_minor_ver: 8
drupal_point_ver: 3
drupal_version: '{{ drupal_major_ver }}.{{ drupal_minor_ver }}.{{ drupal_point_ver }}'
drupal_dist_name: 'drupal-{{ drupal_version }}'
drupal_dist_file: '{{ drupal_dist_name }}.tar.gz'
drupal_tar_url: 'http://ftp.drupal.org/files/projects/{{ drupal_dist_file }}'
@ -19,6 +22,7 @@ http_group: '{{ http_user }}'
# - 'php{{ php_version }}-mbstring'
# - php-ssh2
drupal_php_prereq:
- 'php{{ php_version }}-fpm'
- 'php{{ php_version }}-json'
- 'php{{ php_version }}-intl'
- 'php{{ php_version }}-cli'
@ -26,10 +30,11 @@ drupal_php_prereq:
- 'php{{ php_version }}-gd'
- 'php{{ php_version }}-json'
- 'php{{ php_version }}-curl'
- php-apc
- 'php{{ php_version }}-mbstring'
- php-apcu
- php-pear
- php-date
- php-xml-serializer
- php-memcached
- imagemagick
drupal_install_drush: False

View File

@ -1,4 +1,5 @@
---
dependencies:
- { role: '../../library/roles/php-fpm' }
- { role: '../../library/roles/composer', when: drupal_install_drush }

View File

@ -11,8 +11,8 @@
tags: ['drupal', 'drush', 'global_drush' ]
- name: Install drush locally as part of drupal
become: True
become_user: '{{ item.user }}'
#become: True
#become_user: '{{ item.user }}'
composer: command=require arguments=drush/drush:{{ drupal_drush_version }} prefer_dist=yes working_dir={{ item.doc_root }}
with_items: '{{ phpfpm_pools }}'

View File

@ -0,0 +1,2 @@
---
php_fpm_packages: '{{ drupal_php_prereq }}'