Skip to content

About

Find unused and undeclared Ansible variables.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Ansible Logo


Contents


Links


Description

Clean Ansible is the tool to detect incorrect variables before the provisioning process with use Ansible automation tool.

The Ansible doesn’t have functionality to check variables before running deployment.


Features

  • find undefined Ansible variables

    clean-ansible is able to find undefined variables declared in Ansible: tasks, playbooks, and templates.

  • find redundant Ansible variables

    clean-ansible is able to show the repeated Ansible variables based on Ansible variables precedence.


Installation

To use clean-ansible run:

git clone https://github.com/wrogrammer/clean-ansible
pip3 install tox

and:

tox -e dvars to find redundant defaults variables

tox -e gvars to find redundant defaults variables


Examples


Questions / Help?

Feel free to contact me: wrogrammer@gmail.com


Bug reporting

Just open a Github issue.


Authors


Supported Python Versions

clean-ansible is supported on Python 3.4+.

About

Find unused and undeclared Ansible variables.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages