Little Timmy will try their best to find those unused Ansible variables.
Project description
little-timmy
Little Timmy will try their best to find those unused Ansible variables.
cd repo/ansible/plays
ansible-galaxy collection install -f -r requirements.yml -p .
ansible-galaxy role install -f -r requirements.yml -p galaxy_roles
pip3 install little-timmy
little-timmy
# or
python3 -m little_timmy
Config
Additional, optional configuration can be specified in a YAML configuration file named .little-timmy
.
The file can be located at any level between the current working directory and /
.
skip_vars:
- vars
- to
- ignore
Help
little-timmy -h
usage: little-timmy [-h] [-l LOG_LEVEL] [-c CONFIG_FILE] [-d | --dave-mode | --no-dave-mode] [directory]
Process a directory path
positional arguments:
directory The directory to process
options:
-h, --help show this help message and exit
-l LOG_LEVEL, --log-level LOG_LEVEL
set the logging level (default: INFO)
-c CONFIG_FILE, --config-file CONFIG_FILE
Config file to use. By default it will search all dirs to `/` for .little-timmy
-d, --dave-mode, --no-dave-mode
Make logging work on dave's macbook
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
little_timmy-0.7.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for little_timmy-0.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fed3974961b34d3e1e6f37a56d72eeda570de18766d17557d7845c55ae9c6800 |
|
MD5 | 87aceab17a3a5cab4abc7b6601d4904c |
|
BLAKE2b-256 | 61c6f3f5148142de3cb7a26906ddb2dbf59ebebdb53dd2d462330a21bb6f0165 |