Hi

I would like to override some configuration value, specifically log_path,
for each invocation of ansible-playbook.

I have tried passing extra variables in the form ansible-playbook
something.yml -e 'log_path=/some/file' to no effect.

It also seems like only a single config file is used when there are
multiple ansible.cfg files in their respective locations (./ansible.cfg,
~/.ansible.cfg, /etc/ansible/ansible.cfg). One is forced to produce an
entire config file simply to change a single setting.

Is there a way to arbitrarily override certain config values? Is there is a
way to get Ansible to parse all config files and give corresponding
precedence to individual settings therein?

Regards
Tom
​
-- 
Tom Bamford

*@Planet*
ATPLANET (Pty) Ltd
atpla.net

Cell: +27 (0)79-095-7112
Fax: +27 (0)86-599-1310

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAAnNz0M2Ko3LfztMSbqWXK6JRevasq6GfyP-15i-73TispH%2BWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to