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

**URL:** <https://forum.ansible.com/t/which-ansible-cfg-value-is-the-ansible-playbook-t-flag-overriding/29704>\
**Category:** Ansible Project\
**Created:** [February 19, 2019, 3:18am UTC](https://forum.ansible.com/t/which-ansible-cfg-value-is-the-ansible-playbook-t-flag-overriding/29704 "2019-02-19T03:18:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibdg](https://avatars.discourse-cdn.com/v4/letter/i/9e8a1a/32.png) [@ibdg](https://forum.ansible.com/u/ibdg)\
**Post date:** [February 19, 2019, 3:18am UTC](https://forum.ansible.com/t/which-ansible-cfg-value-is-the-ansible-playbook-t-flag-overriding/29704/1 "2019-02-19T03:18:58Z")

</div>

Per my stackoverflow question: [https://stackoverflow.com/questions/54757444/which-ansible-cfg-timeout-value-is-t-overriding-on-the-ansible-playbook-comma](https://stackoverflow.com/questions/54757444/which-ansible-cfg-timeout-value-is-t-overriding-on-the-ansible-playbook-comma)

The [ansible-playbook documentation](https://docs.ansible.com/ansible/2.4/ansible-playbook.html) 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\_timeout** , **command\_timeout** , or some other timeout not related to either of those?
