Sha256: b6f7ecf67f6f210398e4fa0ae7abd7fe39efc44fea5099c81787c855f8d6b245

Contents?: true

Size: 565 Bytes

Versions: 35

Compression:

Stored size: 565 Bytes

Contents

- name: Install monit
  apt: name=monit state=present

- name: Register monit config files
  template: src={{ item }}.j2
            dest=/etc/monit/conf.d/{{ item }}
            mode=u=rw,g=r,o=r
  with_items:
   - web_interface
  register: web_interface_monit_config

- name: Reload Monit
  command: bash -lc "monit reload"
  when: web_interface_monit_config.changed

- name: Give deployer user access to monit
  lineinfile: 'dest=/etc/sudoers
               state=present
               line="{{ deployer_user.name }} ALL = (ALL) ALL, NOPASSWD: /usr/bin/monit"'

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
taperole-1.6.0 roles/monit_install/tasks/main.yml
taperole-1.5.5 roles/monit_install/tasks/main.yml
taperole-1.5.4 roles/monit_install/tasks/main.yml
taperole-1.5.3 roles/monit_install/tasks/main.yml
taperole-1.5.2 roles/monit_install/tasks/main.yml
taperole-1.5.1 roles/monit_install/tasks/main.yml
taperole-1.5.0 roles/monit_install/tasks/main.yml
taperole-1.4.3 roles/monit_install/tasks/main.yml
taperole-1.4.2 roles/monit_install/tasks/main.yml
taperole-1.4.1 roles/monit_install/tasks/main.yml
taperole-1.4.0 roles/monit_install/tasks/main.yml
taperole-1.3.6 roles/monit_install/tasks/main.yml
taperole-1.3.5 roles/monit_install/tasks/main.yml
taperole-1.3.4 roles/monit_install/tasks/main.yml
taperole-1.3.3 roles/monit_install/tasks/main.yml
taperole-1.3.2 roles/monit_install/tasks/main.yml
taperole-1.3.1 roles/monit_install/tasks/main.yml
taperole-1.3.0 roles/monit_install/tasks/main.yml
taperole-1.2.8 roles/monit_install/tasks/main.yml
taperole-1.2.7 roles/monit_install/tasks/main.yml