diff --git a/changelogs/fragments/psrp-reconnection.yaml b/changelogs/fragments/psrp-reconnection.yaml new file mode 100644 index 00000000000..bf158784aa3 --- /dev/null +++ b/changelogs/fragments/psrp-reconnection.yaml @@ -0,0 +1,2 @@ +minor_changes: +- psrp - Added the ``ansible_psrp_reconnection_backoff`` variable to control the reconnection backoff setting - https://github.com/ansible/ansible/issues/58714 diff --git a/lib/ansible/plugins/connection/psrp.py b/lib/ansible/plugins/connection/psrp.py index f521e6db076..639c268e8e9 100644 --- a/lib/ansible/plugins/connection/psrp.py +++ b/lib/ansible/plugins/connection/psrp.py @@ -118,8 +118,11 @@ options: - The backoff time to use in between reconnection attempts. (First sleeps X, then sleeps 2*X, then sleeps 4*X, ...) - This is measured in seconds. + - The C(ansible_psrp_reconnection_backoff) variable was added in Ansible + 2.9. vars: - name: ansible_psrp_connection_backoff + - name: ansible_psrp_reconnection_backoff default: 2 version_added: '2.8' message_encryption: