Sonu Lohani
7bec77084c
fix: Correct graph exported display message
2021-04-01 21:30:01 +02:00
Mohamed El Mouctar HAIDARA
ee63ee2d2f
docs: Update __version__ to 0.11.0
2021-02-14 21:48:58 +01:00
Mohamed El Mouctar HAIDARA
0e74a33eba
fix: Show task name instead of its ID on hover
...
Closes #57
2021-02-14 01:56:33 +01:00
Mohamed El Mouctar HAIDARA
cfe77af021
refactor: Rename _include_task to _graph_task
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
5b2cdfbe23
style: Replace some format by f-string
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
6ee7165fa1
refactor: Generate node IDs from a util function
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
871dbb58c2
refactor: Use an abstract class to provide the run() method to the CLIs
...
This also fixes the CLI to not run the parse method twice.
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
a40b0f25c0
refactor: Move render_graph to BaseGrapher
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
278ccccfa5
refactor: Move PostProcessor to a dedicated file
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
c0e913044b
refactor: Remove post process from the grapher class
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
a891b2e0cd
feat: Add more debug info + improve counter
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
e75c487e25
fix: Fix display verbosity
...
Looks like the display is a singleton. As such we need to override it's verbosity after getting the singleton instance
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
645c942e17
refactor: Clean code and simplification
...
This introduces a new class BaseGrapher from which the PlaybookGrapher inherits. The goal is to split the PlaybookGrapher into simpler class later on. This change
Some methods have been refactored a little bit also.
style: Set instance attribute before creating objects
2020-11-28 16:53:01 +01:00
Mohamed El Mouctar HAIDARA
47b4581349
fix(postprocessor): Do not try to append root to element if not found
...
And do not run xpath twice.
2020-11-15 03:00:50 +01:00
Mohamed El Mouctar HAIDARA
4e10b03334
fix: Attach play to role edge to play_subgraph
...
instead of role one
2020-11-14 13:31:35 +01:00
Mohamed El Mouctar HAIDARA
9622137ee6
fix: Rename Grapher.graph to Grapher.graphiz_graph
2020-11-13 01:13:48 +01:00
Mohamed El Mouctar HAIDARA
6b0d62e0ca
feat: Add some types annotations
2020-11-13 00:40:22 +01:00
Mohamed El Mouctar HAIDARA
83b82963ec
feat: Add some types annotations
2020-11-13 00:18:20 +01:00
Mohamed El Mouctar HAIDARA
9ab880765c
fix: Do not add the skipped tags to the graph
2020-08-01 18:55:33 +02:00
Mohamed El Mouctar HAIDARA
d6412a7a9d
fix(postprocessor): No need to remove graph title if we specify a name
...
This also adds a double quote around the graph name to avoid to handle the special characters.
2020-07-21 00:31:43 +02:00
Mohamed El Mouctar HAIDARA
63a28dcf06
Fix cli help message for --inventory + update message
2020-06-27 00:57:06 +02:00
Mohamed El Mouctar HAIDARA
fd6de3abbe
Update CHANGELOG.md for upcoming release: 0.10.0
2020-06-05 23:11:31 +02:00
Mohamed El Mouctar HAIDARA
4db882ab79
Remove unused function
2020-06-05 23:05:59 +02:00
Mohamed El Mouctar HAIDARA
50135a2a22
Do not identity a task with its name on the graph.
...
This fixes #21
2020-06-05 23:03:42 +02:00
Mohamed El Mouctar HAIDARA
2439825053
Fix some typos in the code
2020-06-05 22:59:34 +02:00
Mohamed El Mouctar HAIDARA
49aca54899
Update __version__ to 0.9.4
2020-05-16 23:01:33 +02:00
Mohamed El Mouctar Haidara
7b3c55d547
Fix playbook with relative var file ( #36 )
2020-05-16 22:54:50 +02:00
Mohamed El Mouctar HAIDARA
81f63f59ca
Update changelog and version for 0.9.3
2020-02-25 17:26:18 +01:00
Peter Mosmans
985a6792ef
Make sure that an element exists before assigning it ( #26 )
2020-02-25 16:09:15 +00:00
Mohamed El Mouctar HAIDARA
1ce01cd5da
Update __version__ in the init
2020-02-18 13:50:49 +00:00
Mohamed El Mouctar Haidara
d875b04115
Support for Ansible 2.9 ( #25 )
...
* Drop support for ansible 2.7 and new CLI for ansible 2.9
* Remove python2 support
2020-01-13 20:17:10 +01:00
Mohamed El Mouctar HAIDARA
faf0ae0cb3
Update changelog for 0.9.1
2019-06-10 01:07:22 +02:00
Mohamed El Mouctar Haidara
5f051df6f6
fix #18 : New CLI compatible with ansible 2.8 ( #19 )
...
This change is needed because of https://github.com/ansible/ansible/pull/50069 .
The new CLI in this PR should be used in the future when we drop support
for Ansible < 2.8
2019-06-10 01:00:49 +02:00
Mohamed El Mouctar HAIDARA
156ebeaf58
Bump version 0.9.0
2019-04-08 21:14:26 +02:00
Mohamed El Mouctar HAIDARA
c45ccc39e7
Add dot extension to graphviz exported file
2019-04-03 23:49:08 +02:00
Mohamed El Mouctar HAIDARA
a11a8729c7
Simple quote to double quotes
2019-04-03 23:42:36 +02:00
Mohamed El Mouctar HAIDARA
567abd5407
Pass role to load_list_of_blocks so that they know they are from a role
2019-03-30 01:09:50 +01:00
Mohamed El Mouctar HAIDARA
49c888883b
banner with play name
2019-03-30 00:39:37 +01:00
Mohamed El Mouctar HAIDARA
97067c0a68
Add play_counter to play node to distinguish plays with the same hosts
2019-03-29 19:09:42 +01:00
Mohamed El Mouctar HAIDARA
c1eb60894e
Fix option save_dot_file
2019-03-29 18:54:50 +01:00
Mohamed El Mouctar HAIDARA
6f21ad225a
Print more messages when graphing
2019-03-29 01:38:49 +01:00
Mohamed El Mouctar HAIDARA
8e1e313f0c
Warning if variable in include is undefined, uuid.uuid4() as id suffix
2019-03-27 23:58:27 +01:00
Mohamed El Mouctar HAIDARA
e45f957621
Fix tag on task id
2019-03-27 22:48:16 +01:00
Mohamed El Mouctar HAIDARA
5b3336f296
Add when condition on the tasks
2019-03-27 22:39:19 +01:00
Mohamed El Mouctar HAIDARA
5f2817e7ff
fix handle_include_path, update playbook level2.yml to use playbook_dir
2019-03-26 23:56:13 +01:00
Mohamed El Mouctar HAIDARA
6d47e52a92
Template the returned include_before trying to import it
2019-03-26 17:27:18 +01:00
Mohamed El Mouctar HAIDARA
c7cf874231
Bump version to 0.9.0-dev
2019-03-26 00:26:13 +01:00
Mohamed El Mouctar HAIDARA
d73e94231d
basedir of the loader is based on the play or playbook path
2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
7dbaccd781
Do not include role from "import_role" to prevent duplicate
2019-03-26 00:25:34 +01:00
Mohamed El Mouctar HAIDARA
2c27b3e621
Note on my CLI and Ansible 2.9: optparse will be replaced by argparse
2019-03-26 00:25:34 +01:00