library/roles/rstudio-server/tasks/main.yml: Fix typos.
This commit is contained in:
parent
d98607cbad
commit
49217d527a
|
@ -29,17 +29,17 @@
|
|||
service: name=rstudio-server state=stopped enabled=no
|
||||
when: not rstudio_enabled
|
||||
|
||||
- name: Install bc, needed by the script that kills abusing jobs
|
||||
- name: Install bc, needed by the script that kills abusive 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
|
||||
- name: Install a script that kills the abusive 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
|
||||
tags: [ 'rstudio', 'rstudio_server', 'rstudio_kill_rogues' ]
|
||||
|
||||
- name: Install a cron job that kills the abusing jobs
|
||||
- name: Install a cron job that kills the abusive jobs
|
||||
cron: name="Kill rogue jobs" job="/usr/local/bin/kill-rogue-jobs" user=root minute="{{ rstudio_kill_script_frequency }}"
|
||||
when: rstudio_install_kill_script
|
||||
tags: [ 'rstudio', 'rstudio_server', 'rstudio_kill_rogues' ]
|
||||
|
@ -58,10 +58,10 @@
|
|||
- gdebi
|
||||
- rstudio-server
|
||||
|
||||
- name: Remove the script that kills the abusing job processes
|
||||
- name: Remove the script that kills the abusive job processes
|
||||
file: dest=/usr/local/bin/kill-rogue-jobs state=absent
|
||||
|
||||
- name: Remove the cron job that kills the abusing jobs
|
||||
- name: Remove the cron job that kills the abusive jobs
|
||||
cron: name="Kill rogue jobs" job="/usr/local/bin/kill-rogue-jobs" user=root minute="{{ rstudio_kill_script_frequency }}" state=absent
|
||||
|
||||
when: not rstudio_install_server
|
||||
|
|
Loading…
Reference in New Issue