Skip to main content

CLI for Ansible role & playbook analysis & visualization

Project description

Ansible Analyzer

ansible-analyzer lets you visualize one or all playbooks from your project by building a graph representation of each playbook and role task included.

Usage

To analyze a specific playbook, run:

ansible-analyzer playbook -r *roles_dir* -f *playbook_path* -o *output_path*

where

  • -r is for the local directory containing roles
  • -f is for the playbook file path
  • -o (optional) is for the graph .png output path

To analyze all the playbooks in a given directory, run:

ansible-analyzer all -r *roles_dir* -d *playbooks_dir* -o *output_path*

where

  • -r is for the local directory containing roles
  • -d is for the local directory containing playbooks to be analyzed
  • -o (optional) is for the graph .png output path

Finally, the CLI will save a .png file containing a graph representation of your project similar to the following: example graph

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ansible_analyzer-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ansible_analyzer-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file ansible_analyzer-0.1.0.tar.gz.

File metadata

  • Download URL: ansible_analyzer-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ansible_analyzer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 29536a7a50696e737d826055469f2deecd98dcc95239316634ad71ff3485cfad
MD5 f4cde440580c6152bf243bc18445474d
BLAKE2b-256 aea8dd3bdb93bf487558e17a005e4727daf60f59e9f624578c13c58f396306ed

See more details on using hashes here.

File details

Details for the file ansible_analyzer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ansible_analyzer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ansible_analyzer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36ab7fb242048021fdfddda554da90d88f6154531c8f64b965d27adf3d3e4b63
MD5 47c3a6e088e181b56c9d967f5a43dddd
BLAKE2b-256 70920431fffadcee7de13c552f228eb94d8b875253ac03e5cc2ba4bcc619cac5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page