Git Product home page Git Product logo

ansible-role-sudoers's Introduction

Ansible role that installs and manages sudo

Requirements

This module requires Ansible 2.x9+ version.

Role variables

sudoers_envkeeps:
  - "COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS"
  - "MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE"
  - "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES"
  - "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE"
  - "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY"

sudoers_securepaths:
  - /sbin
  - /bin
  - /usr/sbin
  - /usr/bin

sudoers_rules:
  - 'root ALL=(ALL) ALL'
  - '%wheel ALL=(ALL) ALL'
  - '%super ALL=(ALL) NOPASSWD:ALL'

sudoers_hostaliases:
  SERVERS:
    - 192.168.0.202
    - 192.168.0.203
  NETWORK:
    - 192.168.0.0/255.255.255.0

sudoers_commandaliases:
  SHUTDOWN_CMDS:
    - /sbin/poweroff
    - /sbin/reboot
    - /sbin/halt

sudoers_mailto: [email protected]

Examples

- hosts: all 
  roles:
    - sudoers

Dependencies

None

License

MIT

Author

Tamas Molnar - [email protected] - https://tomsitcafe.com

ansible-role-sudoers's People

Contributors

tmolnar0831 avatar

Watchers

 avatar  avatar  avatar

ansible-role-sudoers's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.