Skip to content
Snippets Groups Projects
Commit 38d6d281 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-playbooks/general#85 Name import and include tasks

parent a60ee2dc
No related branches found
No related tags found
No related merge requests found
...@@ -13,11 +13,13 @@ ...@@ -13,11 +13,13 @@
- block: - block:
- include_tasks: variables.yml - name: Include variables
include_tasks: variables.yml
tags: tags:
- always - always
- import_tasks: php.yml - name: Import php
import_tasks: php.yml
- name: Link PhpEnMod for PHP 5.3 - name: Link PhpEnMod for PHP 5.3
file: file:
......
...@@ -49,7 +49,8 @@ ...@@ -49,7 +49,8 @@
notify: notify:
- Restart Apache - Restart Apache
- import_tasks: php53.yml - name: Import php53
import_tasks: php53.yml
when: php_version|default('5.5') == '5.3' when: php_version|default('5.5') == '5.3'
- name: Configuration file, fcgid.conf - name: Configuration file, fcgid.conf
...@@ -106,10 +107,12 @@ ...@@ -106,10 +107,12 @@
owner: www-data owner: www-data
group: 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 when: repository is defined and php_needs_oci8
- import_tasks: msodbc.yml - name: Import msodbc
import_tasks: msodbc.yml
when: php_needs_msodbc when: php_needs_msodbc
- name: Ensure ImageMagick config directory - name: 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