library/roles/smartgears/r_connector/tasks/main.yml: Fix the r_connector role. The debian packages need to be installed as root.

This commit is contained in:
Andrea Dell'Amico 2016-10-27 16:04:24 +02:00
parent 6c43cbfd6a
commit ddafc96e47
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@
notify: Restart smartgears notify: Restart smartgears
- name: Install the packages required to enable the LDAP PAM authentication - 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 apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=1800
with_items: '{{ r_connector_deb_pkgs }}' with_items: '{{ r_connector_deb_pkgs }}'
@ -58,6 +59,7 @@
- '{{ smartgears_instance_path }}/webapps/r-connector.war' - '{{ smartgears_instance_path }}/webapps/r-connector.war'
- name: Remove the packages required to enable the LDAP PAM authentication - name: Remove the packages required to enable the LDAP PAM authentication
become: False
apt: pkg={{ item }} state=absent apt: pkg={{ item }} state=absent
with_items: '{{ r_connector_deb_pkgs }}' with_items: '{{ r_connector_deb_pkgs }}'