Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
d843399c
Unverified
Commit
d843399c
authored
4 years ago
by
Rafael Guterres Jeffman
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #562 from chr15p/typos
fix minor documentation typos in sudo modules
parents
5364ace1
f51107e8
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README-sudocmd.md
+1
-1
1 addition, 1 deletion
README-sudocmd.md
README-sudorule.md
+3
-3
3 additions, 3 deletions
README-sudorule.md
plugins/modules/ipasudocmd.py
+4
-4
4 additions, 4 deletions
plugins/modules/ipasudocmd.py
with
8 additions
and
8 deletions
README-sudocmd.md
+
1
−
1
View file @
d843399c
...
...
@@ -67,7 +67,7 @@ Example playbook to make sure sudocmd is absent:
tasks:
# Ensure sudocmd are absent
-
ipa
hostgroup
:
-
ipa
sudocmd
:
ipaadmin_password: SomeADMINpassword
name: /usr/bin/su
state: absent
...
...
This diff is collapsed.
Click to expand it.
README-sudorule.md
+
3
−
3
View file @
d843399c
...
...
@@ -125,7 +125,7 @@ Variable | Description | Required
`usercategory` \| `usercat` | User category the rule applies to. Choices: ["all", ""] | no
`hostcategory` \| `hostcat` | Host category the rule applies to. Choices: ["all", ""] | no
`cmdcategory` \| `cmdcat` | Command category the rule applies to. Choices: ["all", ""] | no
`runasusercategory` \| `ru
s
asusercat` | RunAs User category the rule applies to. Choices: ["all", ""] | no
`runasusercategory` \| `ru
n
asusercat` | RunAs User category the rule applies to. Choices: ["all", ""] | no
`runasgroupcategory` \| `runasgroupcat` | RunAs Group category the rule applies to. Choices: ["all", ""] | no
`nomembers` | Suppress processing of membership attributes. (bool) | no
`host` | List of host name strings assigned to this sudorule. | no
...
...
@@ -136,8 +136,8 @@ Variable | Description | Required
`deny_sudocmd` | List of sudocmd name strings assigned to the deny group of this sudorule. | no
`allow_sudocmdgroup` | List of sudocmd groups name strings assigned to the allow group of this sudorule. | no
`deny_sudocmdgroup` | List of sudocmd groups name strings assigned to the deny group of this sudorule. | no
`sudooption` \| `option` | List of options to the sudorule | no
`order` | Integer to order the sudorule | no
`sudooption` \| `option
s
` | List of options to the sudorule | no
`order`
\| `sudoorder`
| Integer to order the sudorule | no
`runasuser` | List of users for Sudo to execute as. | no
`runasgroup` | List of groups for Sudo to execute as. | no
`action` | Work on sudorule or member level. It can be on of `member` or `sudorule` and defaults to `sudorule`. | no
...
...
This diff is collapsed.
Click to expand it.
plugins/modules/ipasudocmd.py
+
4
−
4
View file @
d843399c
...
...
@@ -56,15 +56,15 @@ author:
EXAMPLES
=
"""
# Ensure sudocmd is present
- ipa
comman
d:
- ipa
sudocm
d:
ipaadmin_password: SomeADMINpassword
name: su
name:
/usr/bin/
su
state: present
# Ensure sudocmd is absent
- ipa
comman
d:
- ipa
sudocm
d:
ipaadmin_password: SomeADMINpassword
name: su
name:
/usr/bin/
su
state: absent
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment