Run the java R configure command as root.
This commit is contained in:
parent
c702469cfe
commit
c79bacd579
|
@ -33,9 +33,6 @@
|
|||
shell: /usr/local/bin/wps-config-fixer
|
||||
# notify: Restart smartgears
|
||||
|
||||
- name: Reconfigure the Java environment for R
|
||||
shell: R CMD javareconf
|
||||
|
||||
- name: Remove the file that lists the installed algorithms, after an upgrade
|
||||
file: dest={{ smartgears_user_home }}/wps_algorithms_install_log/already_installed_algorithms.txt state=absent
|
||||
register: reinstall_algorithms
|
||||
|
@ -51,3 +48,10 @@
|
|||
become_user: '{{ smartgears_user }}'
|
||||
tags: [ 'tomcat', 'dataminer', 'wps' ]
|
||||
|
||||
- block:
|
||||
- name: Reconfigure the Java environment for R
|
||||
shell: R CMD javareconf
|
||||
|
||||
become: True
|
||||
become_user: root
|
||||
tags: [ 'tomcat', 'dataminer', 'wps' ]
|
||||
|
|
|
@ -80,6 +80,15 @@
|
|||
when: r_connector_install
|
||||
tags: [ 'smartgears', 'r_connector', 'tomcat' ]
|
||||
|
||||
- block:
|
||||
- name: Reconfigure the Java environment for R
|
||||
shell: R CMD javareconf
|
||||
|
||||
become: True
|
||||
become_user: root
|
||||
when: r_connector_install
|
||||
tags: [ 'smartgears', 'r_connector', 'tomcat' ]
|
||||
|
||||
- block:
|
||||
- name: Install the packages required to enable the LDAP PAM authentication
|
||||
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=1800
|
||||
|
|
Loading…
Reference in New Issue