mm0.sudo
Ansible Role: Sudo v1.0
An Ansible role that configures sudoers file
Allows you to specify a different list of users with specific sudoers permission string for each host group or within a playbook
See Also: ansible-role-sudo, ansible-role-bash
Requirements
Sudo access
Role Variables
Available variables are listed below, there are no defaults:
users:
ubuntu:
state: present
groups: sudo,ubuntu
sudo: "ALL=(ALL) NOPASSWD: ALL"
Dependencies
None
Example Playbook
- hosts: webservers
vars:
users:
ubuntu:
state: present
groups: sudo,ubuntu
sudo: "ALL=(ALL) NOPASSWD: ALL"
roles:
- ansible-role-sudo
License
BSD-2
Author Information
mm0 on github
About
An Ansible role that configures sudoers file Allows you to specify a different list of users with specific sudoers permission string for each host group or within a playbook
Install
ansible-galaxy install mm0.sudoLicense
Unknown
Downloads
97
Owner
