From 17c0b3e049ec09a6605d18c9325a5a69d54db8f6 Mon Sep 17 00:00:00 2001 From: B Stack Date: Mon, 3 Oct 2016 11:43:00 -0400 Subject: added sudo --- test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test.yml (limited to 'test.yml') diff --git a/test.yml b/test.yml new file mode 100644 index 0000000..e15f798 --- /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: 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' } -- cgit