Skip to content
Snippets Groups Projects
Commit 464a276e authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#72 Always use import_tasks or include_tasks instead of just include

parent 985b2801
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
- block:
- include: php.yml
- import_tasks: php.yml
- name: "Link PhpEnMod for PHP 5.3"
file:
......
......@@ -49,9 +49,8 @@
notify:
- "Apache | Restart Apache"
- include_tasks: php53.yml
- import_tasks: php53.yml
when: php_version|default('5.5') == '5.3'
tags: 'always'
- name: "PHP | Configuration file, fcgid.conf"
template:
......@@ -107,10 +106,10 @@
owner=www-data
group=www-data
- include_tasks: oci-{{ php_version|default('5.5') }}.yml
- import_tasks: oci-{{ php_version|default('5.5') }}.yml
when: repository is defined and php_needs_oci8
- include_tasks: msodbc.yml
- import_tasks: msodbc.yml
when: php_needs_msodbc
- name: "PHP | Ensure ImageMagick config directory"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment