forked from ISTI-ansible-roles/ansible-roles
library/roles/rstudio-server/tasks/main.yml: Fix the apparmor shell command.
This commit is contained in:
parent
934ba8d8ef
commit
7507ec0850
|
@ -18,7 +18,7 @@
|
|||
when: ( rstudio_download | changed )
|
||||
|
||||
- name: Change the apparmor behaviour to complain, otherwise it cannot read the nslcd socket
|
||||
shell: if [ -x /usr/sbin/apparmor_status ] ; then RETVAL=$( /usr/sbin/apparmor_status ) ; if [ $RETVAL -eq 0 ] ; then aa-complain /usr/lib/rstudio-server/bin/rserver ; fi ; fi
|
||||
shell: RETVAL='' ; if [ -x /usr/sbin/apparmor_status ] ; then APPARMOR_STATE=$( /usr/sbin/apparmor_status ) ; RETVAL=$? ; if [ $RETVAL -eq 0 ] ; then aa-complain /usr/lib/rstudio-server/bin/rserver ; fi ; fi
|
||||
when: rstudio_enabled
|
||||
|
||||
- name: Ensure that rstudio server is enabled and running
|
||||
|
|
Loading…
Reference in New Issue