The ansible-config command

The ansible-config command is used to manage Ansible configuration files. To be honest, Ansible ships with some quite sensible defaults, so there is not much to configure outside of these. You can view the current configuration by running:

$ ansible-config dump

As you can see from the following output, all of the text in green is the default config, and any configuration in orange is a changed value:

Running the following command will list details of every configuration option there is within Ansible, including what the option does, its current state, when it was introduced, the type, and much more:

$ ansible-config ...

Get Learn Ansible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.