Add visualization script
This commit is contained in:
parent
13b69d5d4b
commit
dc398ddb6e
4 changed files with 137 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -52,3 +52,10 @@ all:
|
|||
$(MAKE) dns
|
||||
@printf "\n=====\n\n"
|
||||
ansible-playbook ./playbooks/serguzim.net.yml -t $(TAGS)
|
||||
|
||||
visualize:
|
||||
tofu output --json \
|
||||
| jq 'with_entries(.value |= .value)' \
|
||||
| ./visualize.py \
|
||||
| d2 - infrastructure.svg
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue