From ea580bebbfb96ce497eb4fcdfa2014222114eadf Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 19 Sep 2017 10:35:30 +0200 Subject: [PATCH] Replace deprecated "include" directive in Ansible 2.4 --- tasks/main.yml | 2 +- tasks/php.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index f6616e9..a369324 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -11,7 +11,7 @@ - block: - - include: php.yml + - include_tasks: php.yml - name: "Disable OpCache for CLI and FPM, they are there twice" command: 'phpdismod -s {{ item }} opcache' diff --git a/tasks/php.yml b/tasks/php.yml index c2f4520..029c383 100644 --- a/tasks/php.yml +++ b/tasks/php.yml @@ -49,7 +49,7 @@ notify: - "Apache | Restart Apache" -- include: php53.yml +- include_tasks: php53.yml when: php_version|default('5.5') == '5.3' - name: "PHP | Configuration file, fcgid.conf" @@ -104,7 +104,7 @@ owner=www-data group=www-data -- include: oci-{{ php_version|default('5.5') }}.yml +- include_tasks: oci-{{ php_version|default('5.5') }}.yml when: repository is defined and php_needs_oci8 - name: "PHP | Ensure ImageMagick config directory" -- GitLab