Created
September 19, 2016 20:44
-
-
Save jramnani/1061a84d07379e52d14677a4d46c3a4d to your computer and use it in GitHub Desktop.
Trying to point to a dynamic inventory script from within a project-local config file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ansible --version | |
ansible 2.1.1.0 | |
config file = /Users/jramnani/path/to/ansible-playbooks/ansible.cfg | |
configured module search path = Default w/o overrides | |
$ cat ansible.cfg | |
[default] | |
inventory=./inventory/ec2.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And the winner is...? The section name was wrong in
ansible.cfg
. The section should be named[defaults]
not[default]
. Note the plural.