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.1.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.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ansible_analyzer-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5e652904fca9f2e95f86bfbc6910e71ed04443035aa1be8bd4e2c50516f8ea12
MD5 c013aef8d527fd66bfdb7b3d81d7817c
BLAKE2b-256 0a44e7c6410b9a6057f971cf3fa2e2f4f2e35c5415699bfa4c5b916e7cd6ddca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ansible_analyzer-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eca04cd45310df957298b6582deb55585eefe4c9e05ea9820bfde0b30c2b2241
MD5 80aca093a070ed69372118732ae81c35
BLAKE2b-256 7c1d15fe8a6890ef1e729580c84206a98a2f2d89356d27276e63cc18d2082f76

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