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
|
shell: /usr/local/bin/wps-config-fixer
|
||||||
# notify: Restart smartgears
|
# 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
|
- 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
|
file: dest={{ smartgears_user_home }}/wps_algorithms_install_log/already_installed_algorithms.txt state=absent
|
||||||
register: reinstall_algorithms
|
register: reinstall_algorithms
|
||||||
|
@ -51,3 +48,10 @@
|
||||||
become_user: '{{ smartgears_user }}'
|
become_user: '{{ smartgears_user }}'
|
||||||
tags: [ 'tomcat', 'dataminer', 'wps' ]
|
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
|
when: r_connector_install
|
||||||
tags: [ 'smartgears', 'r_connector', 'tomcat' ]
|
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:
|
- block:
|
||||||
- name: Install the packages required to enable the LDAP PAM authentication
|
- name: Install the packages required to enable the LDAP PAM authentication
|
||||||
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=1800
|
apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=1800
|
||||||
|
|
Loading…
Reference in New Issue