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

---
 tasks/main.yml | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/tasks/main.yml b/tasks/main.yml
index d05aa53..89cd789 100755
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -1,14 +1,25 @@
 ---
 
 - block:
-    - import_tasks: install.yml
-    - import_tasks: test.yml
+
+    - name: Import install
+      import_tasks: install.yml
+
+    - name: Import test
+      import_tasks: test.yml
       tags:
         - update
-    - import_tasks: configure.yml
-    - import_tasks: auth_json.yml
-    - import_tasks: update.yml
+
+    - name: Import configure
+      import_tasks: configure.yml
+
+    - name: Import auth_json
+      import_tasks: auth_json.yml
+
+    - name: Import update
+      import_tasks: update.yml
       when: composer_update == true
       tags:
         - update
+
   when: not excluded_roles or "composer" not in excluded_roles
-- 
GitLab