aboutsummaryrefslogtreecommitdiff
path: root/test.yml
blob: f170ffdfb91116b4c43e42326c7e3a3b630fd271 (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: 42, exists: 'false', name: 'admins-do-all', content: 'User_Alias ADMINS = Bgstack15, bgstack15, user16, User16' }
      - { priority: 43, exists: false, name: 'a', content: "ADMINS ALL=(ALL)  ALL" }
    sudo_files:
      - { exists: 'false', file: '../../../company/sudo-files/40_BGSTACK15' }
bgstack15