aboutsummaryrefslogtreecommitdiff
path: root/test.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test.yml')
-rw-r--r--test.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/test.yml b/test.yml
new file mode 100644
index 0000000..f4608f9
--- /dev/null
+++ b/test.yml
@@ -0,0 +1,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