From e8f529ff8217bfd0305dd871c1391c183ad1b062 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 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index 94a3243..fdcee03 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -7,8 +7,8 @@
 
 - block:
 
-  - include_tasks: install.yml
-  - include_tasks: configure.yml
+  - import_tasks: install.yml
+  - import_tasks: configure.yml
     tags: Config
 
   when: '"haproxy" not in excluded_roles'
@@ -23,10 +23,10 @@
     when: domain.letsencrypt|default(false) and domain.active|default(true)
 
   - name: "Renew Existing Cert"
-    include_tasks: '../../letsencrypt/tasks/renew.yml'
+    import_tasks: '../../letsencrypt/tasks/renew.yml'
 
   - name: "Build HaCerts"
-    include_tasks: 'buildcerts.yml'
+    import_tasks: 'buildcerts.yml'
 
   - name: "Set directory permissions to current user"
     file:
@@ -42,7 +42,7 @@
 - block:
 
   - name: "Pull Certs from active Proxy"
-    include_tasks: 'pullcerts.yml'
+    import_tasks: 'pullcerts.yml'
 
   tags: Certs
   when: 'not proxy_active and "letsencrypt" not in excluded_roles'
-- 
GitLab