From 7f034a80b88996b8997463d47e2e766acfd19ff5 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 | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index da66a2e..352f91e 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -7,27 +7,27 @@
 
 - block:
 
-  - include: prepare.yml
+  - include_tasks: prepare.yml
 
-  - include: install.yml
+  - include_tasks: install.yml
 
-  - include: configure.yml
+  - include_tasks: configure.yml
 
-  - include: apache.yml
+  - include_tasks: apache.yml
     when: groups['webserver'] is defined and inventory_hostname in groups['webserver']
 
-  - include: elasticsearch.yml
+  - include_tasks: elasticsearch.yml
     when: groups['logserver'] is defined and inventory_hostname in groups['logserver']
 
-  - include: haproxy.yml
+  - include_tasks: haproxy.yml
     when: groups['proxyserver'] is defined and inventory_hostname in groups['proxyserver']
 
-  - include: mysql.yml
+  - include_tasks: mysql.yml
     when: groups['dbserver-mysql'] is defined and inventory_hostname in groups['dbserver-mysql']
 
-  - include: silent.yml
+  - include_tasks: silent.yml
 
-  - include: varnish.yml
+  - include_tasks: varnish.yml
     when: groups['varnishserver'] is defined and inventory_hostname in groups['varnishserver']
 
   when: '"netdata" not in excluded_roles'
-- 
GitLab