From 38d6d28187c6c82864545331b344ae7f85ba8d9f Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 11 Jun 2019 19:33:54 +0200 Subject: [PATCH] ansible-playbooks/general#85 Name import and include tasks --- tasks/main.yml | 6 ++++-- tasks/php.yml | 9 ++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 29501fe..e3d293d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -13,11 +13,13 @@ - block: - - include_tasks: variables.yml + - name: Include variables + include_tasks: variables.yml tags: - always - - import_tasks: php.yml + - name: Import php + import_tasks: php.yml - name: Link PhpEnMod for PHP 5.3 file: diff --git a/tasks/php.yml b/tasks/php.yml index 48021c4..1570b54 100644 --- a/tasks/php.yml +++ b/tasks/php.yml @@ -49,7 +49,8 @@ notify: - Restart Apache -- import_tasks: php53.yml +- name: Import php53 + import_tasks: php53.yml when: php_version|default('5.5') == '5.3' - name: Configuration file, fcgid.conf @@ -106,10 +107,12 @@ owner: www-data group: www-data -- include_tasks: oci-{{ php_version|default('5.5') }}.yml +- name: Include oci version + include_tasks: oci-{{ php_version|default('5.5') }}.yml when: repository is defined and php_needs_oci8 -- import_tasks: msodbc.yml +- name: Import msodbc + import_tasks: msodbc.yml when: php_needs_msodbc - name: Ensure ImageMagick config directory -- GitLab