cintiadr / ansible-sudo

Ansible role for managing a simple sudoers file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Role Name

sudo

Role Variables

# Users with access to sudo
sudo_users:
  - root
  - "%wheel"

# Password required for sudo use.
sudo_nopasswd: true

Example Playbook

playbook.yml


---
- hosts: all
  roles:
  - sudo

  vars:
   sudo_users:
     - root
     - admin

License

Apache 2.0

Author Information

Ryan Yates

About

Ansible role for managing a simple sudoers file