aboutsummaryrefslogtreecommitdiff
path: root/test.yml
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2016-09-29 16:01:25 -0400
committerB Stack <bgstack15@gmail.com>2016-09-29 16:01:25 -0400
commit4db266d0ec2f78079c8ff271cdb2e78230d3b090 (patch)
tree0df576efa0b3cc31e548904343a10fe43318b508 /test.yml
parentreadme (diff)
downloadansible01-4db266d0ec2f78079c8ff271cdb2e78230d3b090.tar.gz
ansible01-4db266d0ec2f78079c8ff271cdb2e78230d3b090.tar.bz2
ansible01-4db266d0ec2f78079c8ff271cdb2e78230d3b090.zip
major overhaul
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