S
S
swim3r2019-01-21 16:56:30
Ansible
swim3r, 2019-01-21 16:56:30

How to use custom ansible.cfg in ansible-playbook?

With what key can I register my ansible.cfg in ansible-playbook?
The idea should be something like ansible-playbook --config path/to/file

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2019-01-21
@Zarom

The official documentation says:
The following environment variables may be specified.
ANSIBLE_CONFIG - Override the default ansible config file
Many more are available for most options in ansible.cfg

P
Puma Thailand, 2019-01-23
@opium

as far as I remember, the config in the playbook folder overloads the ansible system config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question