forked from ISTI-ansible-roles/ansible-roles
library/roles/rstudio-server/tasks/main.yml: Install bc, needed by the script that kill the abusive jobs.
This commit is contained in:
parent
2fddf89a92
commit
d98607cbad
|
@ -29,6 +29,11 @@
|
|||
service: name=rstudio-server state=stopped enabled=no
|
||||
when: not rstudio_enabled
|
||||
|
||||
- name: Install bc, needed by the script that kills abusing jobs
|
||||
apt: pkg=bc state=present update_cache=yes cache_valid_time=3600
|
||||
when: rstudio_install_kill_script
|
||||
tags: [ 'rstudio', 'rstudio_server', 'rstudio_kill_rogues' ]
|
||||
|
||||
- name: Install a script that kills the abusing job processes
|
||||
copy: src=kill-rogue-jobs dest=/usr/local/bin/kill-rogue-jobs owner=root group=root mode=0755
|
||||
when: rstudio_install_kill_script
|
||||
|
|
Loading…
Reference in New Issue