暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

monit.yml 411B

1234567891011121314151617
  1. - name: Install monit
  2. apt: pkg=monit state=installed
  3. - name: Copy monit master config file into place
  4. copy: src=etc_monit_monitrc dest=/etc/monit/monitrc
  5. - name: Copy monit service config files into place
  6. copy: src=etc_monit_conf.d_{{ item }} dest=/etc/monit/conf.d/{{ item }}
  7. with_items:
  8. - apache2
  9. - pgsql
  10. - dovecot
  11. - postfix
  12. - sshd
  13. - tomcat
  14. - znc
  15. notify: restart monit