1ANSIBLE-CONFIG(1)       System administration commands       ANSIBLE-CONFIG(1)
2
3
4

NAME

6       ansible-config - View ansible configuration.
7

SYNOPSIS

9       ansible-config [dump|list|view] [--help] [options] [ansible.cfg]
10

DESCRIPTION

12       Config command line class
13

COMMON OPTIONS

15       --version
16          show program's version number, config file location, configured mod‐
17          ule search path, module location, executable location and exit
18
19       -c 'CONFIG_FILE', --config 'CONFIG_FILE'
20          path to configuration file, defaults to first file found  in  prece‐
21          dence.
22
23       -h, --help
24          show this help message and exit
25
26       -v, --verbose
27          verbose mode (-vvv for more, -vvvv to enable connection debugging)
28

ACTIONS

30       list   list  all current configs reading lib/constants.py and shows env
31              and config file setting names
32
33       dump   Shows the current settings, merges ansible.cfg if specified
34
35              --only-changed
36                 Only show configurations that have changed from the default
37
38       view   Displays the current config file
39

ENVIRONMENT

41       The following environment variables may be specified.
42
43       ANSIBLE_CONFIG -- Specify override location for the ansible config file
44
45       Many more are available for most options in ansible.cfg
46
47       For a full list  check  https://docs.ansible.com/.  or  use  the  ansi‐
48       ble-config command.
49

FILES

51       /etc/ansible/ansible.cfg -- Config file, used if present
52
53       ~/.ansible.cfg  --  User  config  file, overrides the default config if
54       present
55
56       ./ansible.cfg -- Local  config  file  (in  current  working  directory)
57       assumed to be 'project specific' and overrides the rest if present.
58
59       As  mentioned above, the ANSIBLE_CONFIG environment variable will over‐
60       ride all others.
61

AUTHOR

63       Ansible was originally written by Michael DeHaan.
64
66       Copyright © 2018 Red Hat, Inc | Ansible.  Ansible is released under the
67       terms of the GPLv3 license.
68

SEE ALSO

70       ansible  (1), ansible-console (1), ansible-doc (1), ansible-galaxy (1),
71       ansible-inventory (1), ansible-playbook (1),  ansible-pull  (1),  ansi‐
72       ble-vault (1)
73
74       Extensive  documentation  is  available  in  the documentation site: <‐
75       https://docs.ansible.com>.  IRC and mailing list info can be  found  in
76       file          CONTRIBUTING.md,         available         in:         <‐
77       https://github.com/ansible/ansible>
78
79
80
81
82Ansible 2.8.1                                                ANSIBLE-CONFIG(1)
Impressum