Go to file
2024-02-18 12:39:15 +00:00
.woodpecker ci: migrate to woodpecker 2024-02-18 13:37:23 +01:00
defaults chore: set use_pty by default 2022-09-19 16:46:53 +02:00
meta ci: migrate to woodpecker 2024-02-18 13:37:23 +01:00
molecule ci: migrate to woodpecker 2024-02-18 13:37:23 +01:00
tasks ci: migrate to woodpecker 2024-02-18 13:37:23 +01:00
templates/etc adjust formatting 2022-09-19 17:05:20 +02:00
.gitignore ci: migrate to woodpecker 2024-02-18 13:37:23 +01:00
.later.yml ci: migrate to woodpecker 2024-02-18 13:37:23 +01:00
.markdownlint.yml ci: migrate to woodpecker 2024-02-18 13:37:23 +01:00
.prettierignore ci: migrate to woodpecker 2024-02-18 13:37:23 +01:00
LICENSE chore: end of the year maintenance [skip ci] 2021-12-21 10:45:46 +01:00
pyproject.toml ci: migrate to woodpecker 2024-02-18 13:37:23 +01:00
README.md [skip ci] automated docs update 2024-02-18 12:39:15 +00:00

xoxys.sudo

Build Status License: MIT

Configure sudoers environment.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

sudo_aliases

Default value

sudo_aliases: []

Example usage

sudo_aliases:
  - name: os_admin
    user_aliases:
      - name: admins
        value:
          - my_admin
    cmnd_aliases:
      - name:
        value:
    specs:
      - ADMINS ALL= NOPASSWD:ALL

sudo_env_keep

Default value

sudo_env_keep:
  - COLORS
  - DISPLAY
  - HOSTNAME
  - HISTSIZE
  - INPUTRC
  - 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

sudo_logfile

Default value

sudo_logfile: /var/log/sudo.log

sudo_misc_settings

Default value

sudo_misc_settings:
  - '!visiblepw'
  - always_set_home
  - env_reset
  - use_pty

sudo_packages

Default value

sudo_packages:
  - sudo

sudo_secure_path

Default value

sudo_secure_path: /sbin:/bin:/usr/sbin:/usr/bin

Dependencies

None.

License

MIT

Author

Robert Kaussow