Compare commits
2 Commits
c362effe2a
...
92f26b7a0c
Author | SHA1 | Date | |
---|---|---|---|
92f26b7a0c | |||
60454b6331 |
@ -28,6 +28,8 @@
|
|||||||
command: check_by_ssh!/usr/lib/nagios/plugins/check_disk -M -u GB -X nfs -X tracefs -X cgroup -X tmpfs -X overlay -X shm -w 15% -c 10% -W 15% -K 10% -A -I '^/run/' -I '^udev$' -I '^/var/lib/kubelet/'
|
command: check_by_ssh!/usr/lib/nagios/plugins/check_disk -M -u GB -X nfs -X tracefs -X cgroup -X tmpfs -X overlay -X shm -w 15% -c 10% -W 15% -K 10% -A -I '^/run/' -I '^udev$' -I '^/var/lib/kubelet/'
|
||||||
- name: Reboot Required
|
- name: Reboot Required
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_reboot_required
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_reboot_required
|
||||||
|
- name: Unit atd.service
|
||||||
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit atd.service
|
||||||
- name: Unit backup.service
|
- name: Unit backup.service
|
||||||
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit backup.service
|
command: check_by_ssh!/usr/local/bin/monitoring-scripts/check_systemd_unit backup.service
|
||||||
- name: Unit backup.timer
|
- name: Unit backup.timer
|
||||||
|
@ -3,5 +3,10 @@
|
|||||||
- name: remove default motd items
|
- name: remove default motd items
|
||||||
file: state=absent path=/etc/update-motd.d/{{ item }}
|
file: state=absent path=/etc/update-motd.d/{{ item }}
|
||||||
loop: "{{ motd_remove + motd_remove_extra }}"
|
loop: "{{ motd_remove + motd_remove_extra }}"
|
||||||
|
- name: disable motd-news
|
||||||
|
systemd: name="{{ item }}" state=stopped enabled=no
|
||||||
|
with_items:
|
||||||
|
- motd-news.service
|
||||||
|
- motd-news.timer
|
||||||
- name: template out motd script
|
- name: template out motd script
|
||||||
template: src=motd.sh dest=/etc/update-motd.d/50-ansible mode=0755
|
template: src=motd.sh dest=/etc/update-motd.d/50-ansible mode=0755
|
||||||
|
Loading…
Reference in New Issue
Block a user