ElaoInfra.sudo
Ansible Role: Sudo
This role will assume the basic installation of sudo
Requirements
- Ansible 1.7.2+
Dependencies
None.
Installation
Ansible 2+
Using ansible galaxy cli:
ansible-galaxy install elao.sudo,2.0
Using ansible galaxy requirements file:
- src: elao.sudo
version: 2.0
Ansible 1 (no longer maintained)
Using ansible galaxy cli:
ansible-galaxy install elao.sudo,1.0
Using ansible galaxy requirements file:
- src: elao.sudo
version: 1.0
Role Handlers
| Name | Type | Description |
|---|---|---|
sudo restart |
Service | Restart sudo service |
Role Variables
Definition
| Name | Default | Type | Description |
|---|---|---|---|
elao_sudo_sudoers_exclusive |
false | Boolean | Sudoers files exclusivity |
elao_sudo_sudoers_dir |
/etc/sudoers.d | String | Path to sudo configuration files |
elao_sudo_sudoers |
[] | Array | Collection of sudoers |
Example
- hosts: all
vars:
elao_sudo_sudoers:
- file: vagrant
config:
- vagrant: ALL=NOPASSWD:ALL
roles:
- role: elao.sudo
Exclusivity (all sudoers non defined by role will be deleted)
elao_sudo_sudoers_exclusive: true
Licence
MIT
Author information
About
Sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user. This role will assume the basic installation of sudo
Install
ansible-galaxy install ElaoInfra.sudoLicense
Unknown
Downloads
74
Owner
All of those roles aren't maintained anymore and we strongly encourage you to switch to our new (maintained and tested) Ansible stack: https://github.com/manala
