v-zhuravlev / zbx-smartctl

Templates and scripts for monitoring disks health with Zabbix and smartmontools
https://share.zabbix.com/storage-devices/smartmontools/smart-monitoring-with-smartmontools-lld
GNU General Public License v3.0
245 stars 127 forks source link

Ansible: Validate sudoers before copying #105

Closed mhaamann closed 5 years ago

mhaamann commented 5 years ago

To ensure that you do not break your sudoers configuration the file is validated as a safety precaution.

(I managed to brick my server since i forgot a line break when copying sudoers_zabbix_smartctl to my ansible scripts) Source: https://docs.ansible.com/ansible/latest/modules/copy_module.html

v-zhuravlev commented 5 years ago

Thanks for contributing!