forked from ISTI-ansible-roles/ansible-roles
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:
parent
6c43cbfd6a
commit
ddafc96e47
|
@ -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 }}'
|
||||
|
||||
|
|
Loading…
Reference in New Issue