mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-22 18:31:25 -07:00
Use semantic markup (modules r-s) (#6683)
* Use semantic markup. * Use 'ignore:' for alias reference. * Ignore sanity errors for older ansible-core versions. * Improve markup for RHSM modules. Co-authored-by: Pino Toscano <ptoscano@redhat.com> * 'ignore:' is no longer needed. * E() now works better. --------- Co-authored-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
parent
45eb1e3915
commit
eff0cb0ed9
49 changed files with 311 additions and 303 deletions
|
@ -31,13 +31,13 @@ options:
|
|||
description:
|
||||
- The commands allowed by the sudoers rule.
|
||||
- Multiple can be added by passing a list of commands.
|
||||
- Use C(ALL) for all commands.
|
||||
- Use V(ALL) for all commands.
|
||||
type: list
|
||||
elements: str
|
||||
group:
|
||||
description:
|
||||
- The name of the group for the sudoers rule.
|
||||
- This option cannot be used in conjunction with I(user).
|
||||
- This option cannot be used in conjunction with O(user).
|
||||
type: str
|
||||
name:
|
||||
required: true
|
||||
|
@ -83,13 +83,13 @@ options:
|
|||
user:
|
||||
description:
|
||||
- The name of the user for the sudoers rule.
|
||||
- This option cannot be used in conjunction with I(group).
|
||||
- This option cannot be used in conjunction with O(group).
|
||||
type: str
|
||||
validation:
|
||||
description:
|
||||
- If C(absent), the sudoers rule will be added without validation.
|
||||
- If C(detect) and visudo is available, then the sudoers rule will be validated by visudo.
|
||||
- If C(required), visudo must be available to validate the sudoers rule.
|
||||
- If V(absent), the sudoers rule will be added without validation.
|
||||
- If V(detect) and visudo is available, then the sudoers rule will be validated by visudo.
|
||||
- If V(required), visudo must be available to validate the sudoers rule.
|
||||
type: str
|
||||
default: detect
|
||||
choices: [ absent, detect, required ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue