diff --git a/lib/ansible/plugins/connection/httpapi.py b/lib/ansible/plugins/connection/httpapi.py index b9e50692b17..05c8d52f50f 100644 --- a/lib/ansible/plugins/connection/httpapi.py +++ b/lib/ansible/plugins/connection/httpapi.py @@ -115,8 +115,8 @@ options: will fail default: 30 ini: - section: persistent_connection - key: persistent_connect_timeout + - section: persistent_connection + key: connect_timeout env: - name: ANSIBLE_PERSISTENT_CONNECT_TIMEOUT persistent_command_timeout: @@ -128,8 +128,8 @@ options: close default: 10 ini: - section: persistent_connection - key: persistent_command_timeout + - section: persistent_connection + key: command_timeout env: - name: ANSIBLE_PERSISTENT_COMMAND_TIMEOUT """ diff --git a/lib/ansible/plugins/connection/network_cli.py b/lib/ansible/plugins/connection/network_cli.py index 7ecb7136662..96968900835 100644 --- a/lib/ansible/plugins/connection/network_cli.py +++ b/lib/ansible/plugins/connection/network_cli.py @@ -138,8 +138,8 @@ options: will fail default: 30 ini: - section: persistent_connection - key: connect_timeout + - section: persistent_connection + key: connect_timeout env: - name: ANSIBLE_PERSISTENT_CONNECT_TIMEOUT persistent_command_timeout: