diff --git a/d4s_user_services_perms/tasks/d4s-service-node.yml b/d4s_user_services_perms/tasks/d4s-service-node.yml index 78aec0a5..3a0443b6 100644 --- a/d4s_user_services_perms/tasks/d4s-service-node.yml +++ b/d4s_user_services_perms/tasks/d4s-service-node.yml @@ -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