aboutsummaryrefslogtreecommitdiff
path: root/test.yml
blob: f4608f99e2a533d1235cfaf4cf7a95e85d790a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: Test playbook for sudo
  hosts: test
  remote_user: root
  roles:
    - sudo
  vars:
    sudo_strings
      - { priority: 40, name: 'admins-do-all', content: 'User_Alias ADMINS = bgstack15, bgstack15, user16, user16' }
      - { priority: 41, name: 'a', content: 'ADMINS ALL=(ALL)  ALL' }
    sudo_files
      - { file: '../../../company/sudo-files/40_bgstack15' }
bgstack15