Fixing #3 and #4 issues from Github.

This commit is contained in:
Emiliano Vavassori 2016-11-08 22:11:06 +01:00
parent a001256663
commit efa80ce5a9
2 changed files with 16 additions and 1 deletions

View File

@ -11,7 +11,9 @@
template:
src: sudoers.d
dest: /etc/sudoers.d/amgmt
mode: "u=r,g=r"
owner: root
group: root
mode: 0440
validate: "/usr/sbin/visudo -cf %s"
- name: Installazione chiave privata PC locale

View File

@ -104,3 +104,16 @@
shell: /sbin/e-smith/signal-event nethserver-samba-update
become: yes
when: force_ibay_shared|bool or chk_shared|failed
# Fixing issue #3 - Configure sudo access for admin on server for operator
# access
# https://github.com/bglug-it/server-config/issues/3
- name: Configuring sudo access for admin account
lineinfile:
dest: /etc/sudoers.d/admin
line: 'admin ALL=(ALL:ALL) NOPASSWD: ALL'
create: yes
owner: root
group: root
mode: 0440
validate: 'visudo -cf %s'