Skip to content

Commit 45f4fc8

Browse files
authored
Update user.py (ansible#81653)
The phrase `Does nothing when used with other platforms.` sometimes appears before the supported platforms. Combine this phrase with the supported platform line.
1 parent dedc48b commit 45f4fc8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lib/ansible/modules/user.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,9 @@
223223
profile:
224224
description:
225225
- Sets the profile of the user.
226-
- Does nothing when used with other platforms.
227226
- Can set multiple profiles using comma separation.
228227
- To delete all the profiles, use O(profile='').
229-
- Currently supported on Illumos/Solaris.
228+
- Currently supported on Illumos/Solaris. Does nothing when used with other platforms.
230229
type: str
231230
version_added: "2.8"
232231
authorization:
@@ -240,10 +239,9 @@
240239
role:
241240
description:
242241
- Sets the role of the user.
243-
- Does nothing when used with other platforms.
244242
- Can set multiple roles using comma separation.
245243
- To delete all roles, use O(role='').
246-
- Currently supported on Illumos/Solaris.
244+
- Currently supported on Illumos/Solaris. Does nothing when used with other platforms.
247245
type: str
248246
version_added: "2.8"
249247
password_expire_max:
@@ -267,8 +265,7 @@
267265
umask:
268266
description:
269267
- Sets the umask of the user.
270-
- Does nothing when used with other platforms.
271-
- Currently supported on Linux.
268+
- Currently supported on Linux. Does nothing when used with other platforms.
272269
- Requires O(local) is omitted or V(False).
273270
type: str
274271
version_added: "2.12"

0 commit comments

Comments
 (0)