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

Now using a python file

parent a1143e83
No related branches found
No related tags found
1 merge request!449Glustermonitor
......@@ -7,8 +7,8 @@
become_user: root
- name: template gluster_monitoring
template:
src=detect-gluster-problems.sh.j2
dest=/usr/local/sbin/detect-gluster-problems.sh
src=detect-gluster-problems.py.j2
dest=/usr/local/sbin/detect-gluster-problems.py
mode=755
owner=root
group=root
......@@ -16,6 +16,6 @@
become_user: root
- name: gluster_monitoring- install crontab entry
#cron: name="Check glust for problems" minute="*/5" job="/usr/local/sbin/detect-gluster-problems.sh >> /tmp/detect-gluster-problems.txt 2>&1"
cron: name="Check gluster for problems" minute="*/5" job="/usr/local/sbin/detect-gluster-problems.sh"
cron: name="Check gluster for problems" minute="*/5" job="/usr/local/sbin/detect-gluster-problems.py"
become: true
become_user: root
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