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 notify: restart php-fpm
when: ansible_os_family == 'FreeBSD' when: ansible_os_family == 'FreeBSD'
- name: INCLUDE | PHP-FPM - name: IMPORT_TASKS | PHP-FPM
include: fpm.yml import_tasks: fpm.yml
- name: LINEINFILE | PHP CLI configuration - name: LINEINFILE | PHP CLI configuration
lineinfile: lineinfile:
@ -37,11 +37,11 @@
line: '{{ item.key }} = {{ item.value }}' line: '{{ item.key }} = {{ item.value }}'
loop: "{{ php_ini | combine(php_ini_cli) | dict2items }}" loop: "{{ php_ini | combine(php_ini_cli) | dict2items }}"
- name: INCLUDE | Xdebug - name: IMPORT_TASKS | Xdebug
include: xdebug.yml import_tasks: xdebug.yml
- name: APT | Install and configure opcache - name: APT | Install and configure opcache
include: opcache.yml import_tasks: opcache.yml
- name: SERVICE | Ensure PHP-FPM is started - name: SERVICE | Ensure PHP-FPM is started
service: service:

View File

@ -17,8 +17,8 @@
- lsb-release - lsb-release
- nginx - nginx
- name: INCLUDE | Sury - name: INCLUDE_TASKS | Sury
include: Debian/sury.yml include_tasks: Debian/sury.yml
when: > when: >
ansible_distribution_major_version is version(9, 'eq') and ansible_distribution_major_version is version(9, 'eq') and
php_version is version('7.1', 'ge') php_version is version('7.1', 'ge')

View File

@ -24,8 +24,8 @@
pre_tasks: pre_tasks:
- name: INCLUDE | Pre tasks related to OS - name: INCLUDE_TASKS | Pre tasks related to OS
include: "includes/pre_{{ ansible_os_family }}.yml" include_tasks: "includes/pre_{{ ansible_os_family }}.yml"
tasks: tasks: