Remove legacy 'include' module
parent
5ef6d09ac6
commit
f5b9eb78b7
|
@ -27,8 +27,8 @@
|
|||
notify: restart php-fpm
|
||||
when: ansible_os_family == 'FreeBSD'
|
||||
|
||||
- name: INCLUDE | PHP-FPM
|
||||
include: fpm.yml
|
||||
- name: IMPORT_TASKS | PHP-FPM
|
||||
import_tasks: fpm.yml
|
||||
|
||||
- name: LINEINFILE | PHP CLI configuration
|
||||
lineinfile:
|
||||
|
@ -37,11 +37,11 @@
|
|||
line: '{{ item.key }} = {{ item.value }}'
|
||||
loop: "{{ php_ini | combine(php_ini_cli) | dict2items }}"
|
||||
|
||||
- name: INCLUDE | Xdebug
|
||||
include: xdebug.yml
|
||||
- name: IMPORT_TASKS | Xdebug
|
||||
import_tasks: xdebug.yml
|
||||
|
||||
- name: APT | Install and configure opcache
|
||||
include: opcache.yml
|
||||
import_tasks: opcache.yml
|
||||
|
||||
- name: SERVICE | Ensure PHP-FPM is started
|
||||
service:
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
- lsb-release
|
||||
- nginx
|
||||
|
||||
- name: INCLUDE | Sury
|
||||
include: Debian/sury.yml
|
||||
- name: INCLUDE_TASKS | Sury
|
||||
include_tasks: Debian/sury.yml
|
||||
when: >
|
||||
ansible_distribution_major_version is version(9, 'eq') and
|
||||
php_version is version('7.1', 'ge')
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
|
||||
pre_tasks:
|
||||
|
||||
- name: INCLUDE | Pre tasks related to OS
|
||||
include: "includes/pre_{{ ansible_os_family }}.yml"
|
||||
- name: INCLUDE_TASKS | Pre tasks related to OS
|
||||
include_tasks: "includes/pre_{{ ansible_os_family }}.yml"
|
||||
|
||||
tasks:
|
||||
|
||||
|
|
Loading…
Reference in New Issue