From c8ef9cb962af4dd70cce83d9fc5dc2abbd31ca83 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Tue, 11 Jun 2019 19:33:34 +0200
Subject: [PATCH] ansible-playbooks/general#85 Name import and include tasks

---
 tasks/main.yml | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index 5dfc00e..ba2d008 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -9,11 +9,16 @@
 
 - block:
 
-    - import_tasks: install.yml
-    - import_tasks: configure.yml
+    - name: Import install
+      import_tasks: install.yml
+
+    - name: Import configure
+      import_tasks: configure.yml
       tags:
         - Config
-    - import_tasks: blacklists.yml
+
+    - name: Import blacklist
+      import_tasks: blacklists.yml
       tags:
         - Config
         - Blacklists
@@ -39,7 +44,8 @@
     - Certs
   when: proxy_active|default(true) and (not excluded_roles or "letsencrypt" not in excluded_roles)
 
-- import_tasks: proxypool.yml
+- name: Import proxypool
+  import_tasks: proxypool.yml
   when: not excluded_roles or "letsencrypt" not in excluded_roles
   tags:
     - Certs
-- 
GitLab