mirror of
https://github.com/haidaraM/ansible-playbook-grapher
synced 2024-11-13 23:47:10 +00:00
Fix tag on task id
This commit is contained in:
parent
5b3336f296
commit
e45f957621
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ class Grapher(object):
|
||||||
task_edge_label += " [when: " + when + "]"
|
task_edge_label += " [when: " + when + "]"
|
||||||
|
|
||||||
task_name = clean_name(node_name_prefix + self.template(task_or_block.get_name(), play_vars))
|
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)
|
graph.node(task_name, shape="octagon", id=task_id)
|
||||||
|
|
||||||
edge_id = "edge_" + parent_node_id + task_id + str(loop_counter) + tagged
|
edge_id = "edge_" + parent_node_id + task_id + str(loop_counter) + tagged
|
||||||
|
|
Loading…
Reference in a new issue