An open API service indexing awesome lists of open source software.

https://github.com/danylevskyi/ansible-role-sudoers

Ansible Role - Sudoers
https://github.com/danylevskyi/ansible-role-sudoers

ansible ansible-role role server sudo sudoers

Last synced: about 2 months ago
JSON representation

Ansible Role - Sudoers

Awesome Lists containing this project

README

          

# Ansible Role: Sudoers

[![Build Status](https://travis-ci.org/danylevskyi/ansible-role-sudoers.svg?branch=master)](https://travis-ci.org/danylevskyi/ansible-role-sudoers)

Add specified users to passwordless sudo group.

## Requirements

None.

## Role Variables

Available variables are listed below, along with default values (see `defaults/main.yml`):

sudoers_users: []

A list of users who will be added to passwordless sudo group.

## Dependencies

None.

## Example Playbook

- hosts: servers

vars:
sudoers_users:
- example_user

roles:
- { role: danylevskyi.sudoers }

## TODO

- Add tests.

## License

BSD / MIT

## Author Information

This role was created in 2017 by [Dmytro Danylevskyi](http://dmytro.danylevskyi.com/).