Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review config file load order, location support #33

Open
4 tasks
deoren opened this issue Jul 31, 2018 · 0 comments
Open
4 tasks

Review config file load order, location support #33

deoren opened this issue Jul 31, 2018 · 0 comments
Milestone

Comments

@deoren
Copy link
Collaborator

deoren commented Jul 31, 2018

I was watching an Ansible training video earlier today and saw this list of supported paths for the Ansible configuration file:

  • Ansible_Config environment variable
  • ansible.cfg file in current directory
  • .ansible.cfg file in user's home directory
  • /etc/ansible/ansible.cfg default settings file

I've not researched whether the files are merged with settings in one overriding settings in others or if just one file is used. For our purposes, just going with one file is probably sufficient.

Without looking at the code, I think we're already handling points 2 and 4, shouldn't be too hard to add support for the others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant