From ddafc96e47e4b6f0487c86a81995e61233742ff8 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Thu, 27 Oct 2016 16:04:24 +0200 Subject: [PATCH] library/roles/smartgears/r_connector/tasks/main.yml: Fix the r_connector role. The debian packages need to be installed as root. --- smartgears/r_connector/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smartgears/r_connector/tasks/main.yml b/smartgears/r_connector/tasks/main.yml index 56fe0c0..13539e3 100644 --- a/smartgears/r_connector/tasks/main.yml +++ b/smartgears/r_connector/tasks/main.yml @@ -24,6 +24,7 @@ notify: Restart smartgears - name: Install the packages required to enable the LDAP PAM authentication + become: False apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=1800 with_items: '{{ r_connector_deb_pkgs }}' @@ -58,6 +59,7 @@ - '{{ smartgears_instance_path }}/webapps/r-connector.war' - name: Remove the packages required to enable the LDAP PAM authentication + become: False apt: pkg={{ item }} state=absent with_items: '{{ r_connector_deb_pkgs }}'