Which ansible.cfg value is the "ansible-playbook -T" flag overriding?

12 views
Skip to first unread message

ibdg

unread,
Feb 18, 2019, 10:18:58 PM2/18/19
to Ansible Project
Per my stackoverflow question: https://stackoverflow.com/questions/54757444/which-ansible-cfg-timeout-value-is-t-overriding-on-the-ansible-playbook-comma

The ansible-playbook documentation says that -T will "override the connection timeout in seconds (default=10)".


In the /etc/ansible/ansible.cfg file, under the [persistent_connection] section, there's connect_timeout (default 30 sec) and command_timeout (default 10 sec).


The ansible-playbook documentation would suggest it's the connect_timeout being overridden, but the default value that page specifies doesn't match the connect_timeout default value, it matches the command_timeout default value.


So, does the -T flag on the ansible-playbook command override the connect_timeoutcommand_timeout, or some other timeout not related to either of those?

Reply all
Reply to author
Forward
0 new messages