From 46baa62137ff4d583dffdee105922642c233c9e9 Mon Sep 17 00:00:00 2001 From: Mohamed El Mouctar HAIDARA Date: Wed, 17 Jul 2024 17:05:52 +0000 Subject: [PATCH] add play hosts --- ansibleplaybookgrapher/graph_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ansibleplaybookgrapher/graph_model.py b/ansibleplaybookgrapher/graph_model.py index ffd26c5..0ad0eb5 100644 --- a/ansibleplaybookgrapher/graph_model.py +++ b/ansibleplaybookgrapher/graph_model.py @@ -520,6 +520,7 @@ def to_dict(self, exclude_compositions: bool = False, **kwargs) -> Dict: :return: """ data = super().to_dict(exclude_compositions, **kwargs) + data["hosts"] = self.hosts data["colors"] = {"main": self.colors[0], "font": self.colors[1]} return data