pai
commit
52a31ed98c
5 arquivos alterados com 16 adições e 1 exclusões
  1. +2
    -0
      defaults/main.yaml
  2. +5
    -0
      tasks/apache.yaml
  3. +3
    -0
      tasks/main.yaml
  4. +6
    -0
      tasks/php-fpm.yaml
  5. +0
    -1
      tasks/setup.yaml

+ 2
- 0
defaults/main.yaml Ver arquivo

@@ -1,3 +1,5 @@
--- ---
php_sury_repo: false php_sury_repo: false
php_configure_opcache: false php_configure_opcache: false
php_apache_module: false
php_fpm_install: false

+ 5
- 0
tasks/apache.yaml Ver arquivo

@@ -1,5 +1,10 @@
--- ---


- name: php apache module debian packages
apt:
pkg:
- libapache2-mod-php{{php_version}}

- name: find apache php modules which are not of the selected version - name: find apache php modules which are not of the selected version
find: find:
path: /etc/apache2/mods-enabled/ path: /etc/apache2/mods-enabled/


+ 3
- 0
tasks/main.yaml Ver arquivo

@@ -2,5 +2,8 @@


- import_tasks: setup.yaml - import_tasks: setup.yaml
- import_tasks: apache.yaml - import_tasks: apache.yaml
when: php_apache_module
- import_tasks: opcache.yaml - import_tasks: opcache.yaml
when: php_configure_opcache when: php_configure_opcache
- import_tasks: php-fpm.yaml
when: php_fpm_install

+ 6
- 0
tasks/php-fpm.yaml Ver arquivo

@@ -0,0 +1,6 @@
---

- name: php-fpm debian packages
apt:
pkg:
- php{{php_version}}-fpm

+ 0
- 1
tasks/setup.yaml Ver arquivo

@@ -44,7 +44,6 @@
apt: apt:
pkg: pkg:
- php{{php_version}}-cli - php{{php_version}}-cli
- libapache2-mod-php{{php_version}}
- php{{php_version}}-xml - php{{php_version}}-xml
- php{{php_version}}-json - php{{php_version}}-json
- php{{php_version}}-mbstring - php{{php_version}}-mbstring

Carregando…
Cancelar
Salvar