From b16b5a3bda6e1f9ce99541bb33d591ca20ecd2ef Mon Sep 17 00:00:00 2001 From: lum7na <76193362+lum7na@users.noreply.github.com> Date: Wed, 13 Aug 2025 16:38:10 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Abhijeet Kasurde --- .../fragments/85542-warning-when-using-seuser-on-alpine.yml | 2 +- lib/ansible/modules/user.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelogs/fragments/85542-warning-when-using-seuser-on-alpine.yml b/changelogs/fragments/85542-warning-when-using-seuser-on-alpine.yml index ef8964fce48..b32ff161936 100644 --- a/changelogs/fragments/85542-warning-when-using-seuser-on-alpine.yml +++ b/changelogs/fragments/85542-warning-when-using-seuser-on-alpine.yml @@ -1,2 +1,2 @@ bugfixes: - - user - The seuser parameter will be ignored on Alpine and print warning \ No newline at end of file + - user - The seuser parameter will be ignored on Alpine and print a warning (https://github.com/ansible/ansible/issues/85542). \ No newline at end of file diff --git a/lib/ansible/modules/user.py b/lib/ansible/modules/user.py index e78db332a8e..436d43e857f 100644 --- a/lib/ansible/modules/user.py +++ b/lib/ansible/modules/user.py @@ -44,7 +44,7 @@ options: seuser: description: - Optionally sets the C(seuser) type C(user_u) on SELinux enabled systems. - - This parameter will be ignored on Alpine and Buildroot. + - This parameter will be ignored on macOS, *BSD, BusyBox-based distros and Buildroot. type: str version_added: "2.1" group: