Skip to content

Commit

Permalink
Add note about ansible.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
haidaraM committed Jun 22, 2020
1 parent 38f214f commit 13a33a4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Readme.md
Expand Up @@ -76,9 +76,22 @@ Options:
-v, --verbose verbose mode (-vvv for more, -vvvv to enable
connection debugging)
--version show program's version number and exit
```

## Configuration: ansible.cfg
The content of `ansible.cfg` is loaded automatically when running the grapher. Their corresponding environment variables
are also loaded.

Currently, the following configurations are explicitly used:
- `display_skipped_hosts` or `ANSIBLE_DISPLAY_SKIPPED_HOSTS`: When `false` or `0`, the skipped tasks/roles are removed
from the graph. By default, skipped tags have a lower opacity.
- ...

Note that some other params in the config file can affect the behavior of the grapher. For example `TAGS_RUN` and `TAGS_SKIP`
or vault configuration.

More information [here](https://docs.ansible.com/ansible/latest/reference_appendices/config.html).

## Contribution
Contributions are welcome. Feel free to contribute by creating an issue or submitting a PR :smiley:

Expand Down
Empty file added tests/ansible.cfg
Empty file.

0 comments on commit 13a33a4

Please sign in to comment.