Install the sudoes configuration as root.

This commit is contained in:
Andrea Dell'Amico 2018-11-26 10:35:54 +01:00
parent 60277d5325
commit 95395176b9
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
with_items: '{{ d4science_user_service_scripts }}'
- name: Install the sudoers config that permits the tomcat user to restart the service
become: False
become_user: root
template: src=d4science-sudoers.j2 dest=/etc/sudoers.d/d4science-services owner=root group=root mode=0440
become: True