forked from ISTI-ansible-roles/ansible-roles
Install the sudoes configuration as root.
This commit is contained in:
parent
60277d5325
commit
95395176b9
|
@ -10,7 +10,7 @@
|
||||||
with_items: '{{ d4science_user_service_scripts }}'
|
with_items: '{{ d4science_user_service_scripts }}'
|
||||||
|
|
||||||
- name: Install the sudoers config that permits the tomcat user to restart the service
|
- 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
|
template: src=d4science-sudoers.j2 dest=/etc/sudoers.d/d4science-services owner=root group=root mode=0440
|
||||||
|
|
||||||
become: True
|
become: True
|
||||||
|
|
Loading…
Reference in New Issue