library/roles/smartgears/r_connector/tasks/main.yml: Change some tasks to not fail when the remote_user is not root.
This commit is contained in:
parent
5839530ebc
commit
bdd8d9bc86
|
@ -17,10 +17,9 @@
|
|||
unarchive: copy=no src={{ smartgears_user_home }}/{{ r_connector_filename }} dest={{ smartgears_instance_path }}/webapps/{{ r_connector_name }}
|
||||
args:
|
||||
creates: '{{ smartgears_instance_path }}/webapps/{{ r_connector_name }}/WEB-INF/web.xml'
|
||||
|
||||
|
||||
- name: Obtain the permission to read the Rstudio secure cookie key
|
||||
become: False
|
||||
become_user: root
|
||||
file: dest={{ r_connector_rstudio_cookie_key }} mode=640 group={{ smartgears_user }}
|
||||
|
||||
- name: Install the R connector web.xml template
|
||||
|
@ -28,11 +27,11 @@
|
|||
notify: Restart smartgears
|
||||
|
||||
- name: Install the R add users script
|
||||
become: False
|
||||
become_user: root
|
||||
template: src=rusersadd.j2 dest={{ r_connector_adduserscript }} owner=root group=root mode=0555
|
||||
|
||||
- name: Crete the directory that will host the RConfiguration stuff
|
||||
become: False
|
||||
become_user: root
|
||||
file: dest={{ r_connector_rprofile_base_dir }} owner={{ d4science_user }} group={{ d4science_user }} state=directory
|
||||
|
||||
- name: Get the svn repository that provides the .Rprofile
|
||||
|
|
Loading…
Reference in New Issue