mm0.sudo

Ansible Role: Sudo v1.0

Build Status

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

Matt Margolin

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.sudo
GitHub repository
License
Unknown
Downloads
97