Remove legacy 'include' module

pull/11/head
Emilien Mantel 2019-04-19 10:28:00 +02:00
parent 5ef6d09ac6
commit f5b9eb78b7
3 changed files with 9 additions and 9 deletions

View File

@ -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:

View File

@ -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')

View File

@ -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: