Environment variables understood by Ansible

21 views
Skip to first unread message

Nick Kakouros

unread,
Jul 21, 2017, 5:56:35 PM7/21/17
to Ansible Project

Where can I find a list of environment variables that modify Ansible parameters? I am talking about the environment variables one sets before calling Ansible, eg 'ENV_VAR1=something ansible -i ...'.

Brian Coca

unread,
Jul 21, 2017, 7:52:49 PM7/21/17
to Ansible Project
In 2.4 we are adding a new command line tool 'ansible-config' which
can dump all configuration settings, including which environment
variables/ini entries/etc affect it.

The list in previous versions lives in
https://github.com/ansible/ansible/blob/stable-2.3/lib/ansible/constants.py



--
----------
Brian Coca

Nick Kakouros

unread,
Jul 23, 2017, 11:22:57 AM7/23/17
to Ansible Project
Super! Thanks for the info.
Reply all
Reply to author
Forward
0 new messages