Skip to content

Commit

Permalink
xyz
Browse files Browse the repository at this point in the history
xyz
  • Loading branch information
radosroka committed May 17, 2024
1 parent 158684c commit 44476b7
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Definition of all your sudoers configurations | see [defaults/main.yml](defaults

#### path

Where to deploy the configuration file to on the filesystem. | string |
Where to deploy the configuration file to on the filesystem. | string |

#### aliases

Optional definition of `cmnd_alias`, `host_alias`, `runas_alias`, or `user_alias` items. | dictionary |
Optional definition of `cmnd_alias`, `host_alias`, `runas_alias`, or `user_alias` items. | dictionary |

#### defaults

Expand All @@ -60,46 +60,46 @@ This dictionary can be used to assign either user specifications or default over

#### cmnd_alias

`name` Name of the command alias and commands. | string |
`commands` List of commands to apply to the alias | list |
`name` Name of the command alias and commands. | string |
`commands` List of commands to apply to the alias | list |

#### host_alias

`name` Name of the host alias. | string |
`hosts` List of hosts to apply to the alias | list |
`name` Name of the host alias. | string |
`hosts` List of hosts to apply to the alias | list |

#### runas_alias

`name` Name of the runas alias | string |
`users` List of users to apply to the alias | list |
`name` Name of the runas alias | string |
`users` List of users to apply to the alias | list |

#### user_alias

`name` Name of the user_alias | string |
`users` List of users to apply to the alias | list |
`name` Name of the user_alias | string |
`users` List of users to apply to the alias | list |

### Other user_specifications

#### Standard user_specifications

`users` List of users to apply the specification to. You can use a `user_alias` name as well as user names. | list |
`hosts` List of hosts to apply the specification to. You can use a defined `host_alias` name as well as host names. | list |
`operators` List of operators to apply the specification to. You can use a defined `runas_alias` name as well as user names. | list |
`selinux_role` Optional selinux role to apply to the specification | list |
`selinux_type` Optional selinux type to apply to the specification | list |
`solaris_privs` Optional Solaris privset to apply to the specification | list |
`solaris_limitprivs` Optional Solaris privset to apply to the specification | list |
`tags` Optional list of tags to apply to the specification. | list |
`commands` List of commands to apply the specification to. You can use a defined `cmnd_alias` name as well as commands. | list |
`users` List of users to apply the specification to. You can use a `user_alias` name as well as user names. | list |
`hosts` List of hosts to apply the specification to. You can use a defined `host_alias` name as well as host names. | list |
`operators` List of operators to apply the specification to. You can use a defined `runas_alias` name as well as user names. | list |
`selinux_role` Optional selinux role to apply to the specification | list |
`selinux_type` Optional selinux type to apply to the specification | list |
`solaris_privs` Optional Solaris privset to apply to the specification | list |
`solaris_limitprivs` Optional Solaris privset to apply to the specification | list |
`tags` Optional list of tags to apply to the specification. | list |
`commands` List of commands to apply the specification to. You can use a defined `cmnd_alias` name as well as commands. | list |

#### Default Override user_specifications

`defaults` List of defaults to override from the main configuration | list |
`type` Type of default to override, this affects the operator in the configuration ( host -> `@`, user -> `:`, command -> `!`, and runas -> `>`). The type field can be one of the following values: `command`, `host`, `runas`, or `user`. | string |
`commands` Use when `type: command`. List of `cmnd_alias` names as well as commands to override specific default values.| list |
`hosts` Use when `type: host`. List of `host_alias` names as well as individual host names to override specific default values. | list |
`operators` Use when `type: runas`. List of `runas_alias` names as well as individual user names to override specific default values. | list |
`users` Use when `type: user`. List of `user_alias` names as well as individual user names to override specific default values. | list |
`defaults` List of defaults to override from the main configuration | list |
`type` Type of default to override, this affects the operator in the configuration ( host -> `@`, user -> `:`, command -> `!`, and runas -> `>`). The type field can be one of the following values: `command`, `host`, `runas`, or `user`. | string |
`commands` Use when `type: command`. List of `cmnd_alias` names as well as commands to override specific default values.| list |
`hosts` Use when `type: host`. List of `host_alias` names as well as individual host names to override specific default values. | list |
`operators` Use when `type: runas`. List of `runas_alias` names as well as individual user names to override specific default values. | list |
`users` Use when `type: user`. List of `user_alias` names as well as individual user names to override specific default values. | list |

## Example Playbook

Expand Down

0 comments on commit 44476b7

Please sign in to comment.