diff --git a/changelogs/fragments/7043-ejabberd-user-deprecate-logging.yml b/changelogs/fragments/7043-ejabberd-user-deprecate-logging.yml new file mode 100644 index 0000000000..beaec9ccc3 --- /dev/null +++ b/changelogs/fragments/7043-ejabberd-user-deprecate-logging.yml @@ -0,0 +1,2 @@ +deprecated_features: + - ejabberd_user - deprecate the parameter ``logging`` in favour of producing more detailed information in the module output (https://github.com/ansible-collections/community.general/pull/7043). diff --git a/plugins/modules/ejabberd_user.py b/plugins/modules/ejabberd_user.py index a8872cacc3..2ec1b0f218 100644 --- a/plugins/modules/ejabberd_user.py +++ b/plugins/modules/ejabberd_user.py @@ -150,7 +150,7 @@ def main(): username=dict(required=True, type='str'), password=dict(type='str', no_log=True), state=dict(default='present', choices=['present', 'absent']), - logging=dict(default=False, type='bool') # deprecate in favour of c.g.syslogger? + logging=dict(default=False, type='bool', removed_in_version='10.0.0', removed_from_collection='community.general'), ), required_if=[ ('state', 'present', ['password']),