The role for Ansible, which manages sudoers.d files.
Param | Description |
---|---|
sudoers_files |
List of sudoers.d files |
sudoers_files.[].name |
Sudoers.d filename |
sudoers_files.[].sudo_commands |
List of sudo commands in sudoers.d file |
sudoers_files.[].sudo_commands.[].user |
User who will run sudo command. Default sudoers_files.[].name |
sudoers_files.[].sudo_commands.[].host |
Sudo host. Default ALL |
sudoers_files.[].sudo_commands.[].target_user |
Sudo target user. Required parameter |
sudoers_files.[].sudo_commands.[].group |
Sudo target group |
sudoers_files.[].sudo_commands.[].nopasswd |
Accept sudo command without password. Default true = NOPASSWD |
sudoers_files.[].sudo_commands.[].command |
Sudo command. Default ALL |
- ...
GPL3
OSSHelp Team, see https://oss.help