diff --git a/changelogs/fragments/user-module-return-docs.yml b/changelogs/fragments/user-module-return-docs.yml new file mode 100644 index 00000000000..9de0b2b32f7 --- /dev/null +++ b/changelogs/fragments/user-module-return-docs.yml @@ -0,0 +1,3 @@ +bugfixes: + - user module - Removed ``password_expire_max`` from the return docs, as it is not returned. + - user module - Removed ``password_expire_min`` from the return docs, as it is not returned. diff --git a/lib/ansible/modules/user.py b/lib/ansible/modules/user.py index 2fc4e47397f..97873346e0e 100644 --- a/lib/ansible/modules/user.py +++ b/lib/ansible/modules/user.py @@ -439,16 +439,6 @@ uid: returned: When I(uid) is passed to the module type: int sample: 1044 -password_expire_max: - description: Maximum number of days during which a password is valid. - returned: When user exists - type: int - sample: 20 -password_expire_min: - description: Minimum number of days between password change - returned: When user exists - type: int - sample: 20 '''