library/roles/rstudio-server/tasks/main.yml: Fix the apparmor shell command.

This commit is contained in:
Andrea Dell'Amico 2017-07-07 00:50:19 +02:00
parent 934ba8d8ef
commit 7507ec0850
1 changed files with 1 additions and 1 deletions

View File

@ -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