Extracted the basic role from the madonsible playbook

This commit is contained in:
Emmanouil Kampitakis
2018-06-17 08:48:53 +00:00
commit eb16cabd34
18 changed files with 207 additions and 0 deletions

8
tasks/sudo.yml Normal file
View File

@@ -0,0 +1,8 @@
---
- name: Give sudo group passwordless sudo
lineinfile:
dest: /etc/sudoers
regexp: "^%sudo"
line: "%sudo ALL=(ALL) NOPASSWD: ALL"
tags: sudo
become: true