diff --git a/tasks/main.yml b/tasks/main.yml index 986438a..f052bfa 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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: diff --git a/tests/includes/pre_Debian.yml b/tests/includes/pre_Debian.yml index f7d67ae..1c26ace 100644 --- a/tests/includes/pre_Debian.yml +++ b/tests/includes/pre_Debian.yml @@ -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') diff --git a/tests/test.yml b/tests/test.yml index c73923b..7821172 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -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: