diff --git a/pyrocufflink.yml b/pyrocufflink.yml index 91b8843..4b6c996 100644 --- a/pyrocufflink.yml +++ b/pyrocufflink.yml @@ -3,8 +3,16 @@ - winbind - nsswitch - system-auth + - sudo tasks: - name: ensure winbind is running service: name=winbind state=started + - name: ensure server admins can use sudo + copy: + dest: /etc/sudoers.d/20_server-admins + content: | + %server\ admins ALL=(ALL) ALL + mode: '0440' + validate: visudo -cf %s