Skip to content
Snippets Groups Projects
Commit 3749026e authored by Simon Michnowicz's avatar Simon Michnowicz
Browse files

minor edits on comments

parent 2b32a2e1
No related branches found
No related tags found
1 merge request!476added code to enable/disable Lustre check cron job on monarch nodes
......@@ -20,12 +20,6 @@
tasks:
- { name: kill user bash shells, shell: 'ps aux | grep -i bash | grep -v "ec2-user" | grep -v "root" | sed "s/\ \ */\ /g" | cut -f 2 -d " " | xargs -I{} kill -09 {}', become: true, become_user: root, tags: [never,kickshells]}
- { name: Disable MonARCH Lustre Cron Check, cron: name="Check dmesg for lustre errors" state=absent,become_user: root,become: True ,tags: [never, monarch_disable] }
#cron:
# name: "Check dmesg for lustre errors"
# state: absent
# user: root
#become: True
#tags: [never, monarch_disable]
- name: Re-enable MonARCH Lustre Cron Check
cron: name="Check dmesg for lustre errors" minute="*/5" job="/usr/local/sbin/check_lustre_dmesg.sh >> /tmp/check_lustre_output.txt 2>&1"
become: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment