Sha256: 4cf53038a984575f5aa787504dbc399f1b7a7ca13440d1fd4aac12484ab50b32

Contents?: true

Size: 478 Bytes

Versions: 2

Compression:

Stored size: 478 Bytes

Contents

---
  - name: Install monit
    apt:
      name: monit
      state: present
    become: true

  - name: Copy sudoers file so that deploy can use monit without entering password.
    copy:
      src: sudoers-monit
      dest: /etc/sudoers.d/monit
    become: true

  - name: Copy monit config to enable http from localhost
    copy:
      src: monit-http.conf
      dest: /etc/monit/conf.d/monit-http.conf
    become: true
    notify:
      - reload_monit
      - validate_monit

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
subspace-0.4.1 ansible/roles/monit/tasks/main.yml
subspace-0.4.0 ansible/roles/monit/tasks/main.yml