diff --git a/lib/ansible/modules/network/netconf/netconf_config.py b/lib/ansible/modules/network/netconf/netconf_config.py index ae4cc6d18a3..b09d128f312 100644 --- a/lib/ansible/modules/network/netconf/netconf_config.py +++ b/lib/ansible/modules/network/netconf/netconf_config.py @@ -92,10 +92,12 @@ options: error_option: description: - This option controls the netconf server action after an error occurs while editing the configuration. - If the value is I(stop-on-error) abort the config edit on first error, if value is I(continue-on-error) - it continues to process configuration data on error, error is recorded and negative response is generated - if any errors occur. If value is C(rollback-on-error) it rollback to the original configuration in case - any error occurs, this requires the remote Netconf server to support the :rollback-on-error capability. + - If I(error_option=stop-on-error), abort the config edit on first error. + - If I(error_option=continue-on-error), continue to process configuration data on error. + The error is recorded and negative response is generated if any errors occur. + - If I(error_option=rollback-on-error), rollback to the original configuration if + any error occurs. + This requires the remote Netconf server to support the I(error_option=rollback-on-error) capability. default: stop-on-error choices: ['stop-on-error', 'continue-on-error', 'rollback-on-error'] version_added: "2.7"