From e45f95762147f29722b67b5eb7a6f934193dd1a3 Mon Sep 17 00:00:00 2001 From: Mohamed El Mouctar HAIDARA Date: Wed, 27 Mar 2019 22:48:16 +0100 Subject: [PATCH] Fix tag on task id --- ansibleplaybookgrapher/grapher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansibleplaybookgrapher/grapher.py b/ansibleplaybookgrapher/grapher.py index b42eb27..cfb35fa 100644 --- a/ansibleplaybookgrapher/grapher.py +++ b/ansibleplaybookgrapher/grapher.py @@ -337,7 +337,7 @@ class Grapher(object): task_edge_label += " [when: " + when + "]" task_name = clean_name(node_name_prefix + self.template(task_or_block.get_name(), play_vars)) - task_id = id_prefix + clean_id(task_name + tagged) + task_id = id_prefix + clean_id(task_name) + tagged graph.node(task_name, shape="octagon", id=task_id) edge_id = "edge_" + parent_node_id + task_id + str(loop_counter) + tagged