Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

vmware-archive/ansible-role-sudo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-sudo

Ansible role for adding passwordless sudo rights to specified users.

Requirements

None known.

Role Variables

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

sudo_users:
  - { userid: vmware, group: vmware, password: "hashed_password_here" }

A list of users to which to add passwordless sudo rights.

Example playbook

---
- hosts: sudohosts
  sudo: True
  connection: local
  roles:
    - sudo
  vars_files:
    - vars/sudousers.yml

License and Copyright

Copyright © 2015 VMware, Inc. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-only

This code is Dual Licensed Apache License 2.0 or GPLv3

You may obtain a copy of the License(s) at

http://www.apache.org/licenses/LICENSE-2.0

or

https://www.gnu.org/licenses/gpl-3.0.en.html

Author Information

This role was created in 2015 by Tom Hite / VMware.

About

No description or website provided.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages