From 95395176b93ca1dcba22afa4853f859c1e8c6b88 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 26 Nov 2018 10:35:54 +0100 Subject: [PATCH] Install the sudoes configuration as root. --- d4s_user_services_perms/tasks/d4s-service-node.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d4s_user_services_perms/tasks/d4s-service-node.yml b/d4s_user_services_perms/tasks/d4s-service-node.yml index 78aec0a..3a0443b 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