Skip to content

Commit

Permalink
add play hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
haidaraM committed Aug 21, 2024
1 parent c3ea5e1 commit 46baa62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansibleplaybookgrapher/graph_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46baa62

Please sign in to comment.