From 4206b488913f44359d7c2e8292edb3150cd8321d Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Wed, 8 Nov 2017 10:57:28 +0100 Subject: [PATCH] ansible-playbooks/general#72 Replace include_tasks with import_tasks --- tasks/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 352f91e..e52ba7b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,27 +7,27 @@ - block: - - include_tasks: prepare.yml + - import_tasks: prepare.yml - - include_tasks: install.yml + - import_tasks: install.yml - - include_tasks: configure.yml + - import_tasks: configure.yml - - include_tasks: apache.yml + - import_tasks: apache.yml when: groups['webserver'] is defined and inventory_hostname in groups['webserver'] - - include_tasks: elasticsearch.yml + - import_tasks: elasticsearch.yml when: groups['logserver'] is defined and inventory_hostname in groups['logserver'] - - include_tasks: haproxy.yml + - import_tasks: haproxy.yml when: groups['proxyserver'] is defined and inventory_hostname in groups['proxyserver'] - - include_tasks: mysql.yml + - import_tasks: mysql.yml when: groups['dbserver-mysql'] is defined and inventory_hostname in groups['dbserver-mysql'] - - include_tasks: silent.yml + - import_tasks: silent.yml - - include_tasks: varnish.yml + - import_tasks: varnish.yml when: groups['varnishserver'] is defined and inventory_hostname in groups['varnishserver'] when: '"netdata" not in excluded_roles' -- GitLab