ansible / ansible.builtin / v2.9.27 / module / monit Manage the state of a program monitored via Monit | "added in version" 1.2 of ansible.builtin" Authors: Darryl Stoflet (@dstoflet) preview | supported by communityansible.builtin.monit (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
Manage the state of a program monitored via I(Monit)
# Manage the state of program "httpd" to be in "started" state. - monit: name: httpd state: started
name: description: - The name of the I(monit) program/process to manage required: true state: choices: - present - started - stopped - restarted - monitored - unmonitored - reloaded description: - The state of service required: true timeout: default: 300 description: - If there are pending actions for the service monitored by monit, then Ansible will check for up to this many seconds to verify the requested action has been performed. Ansible will sleep for five seconds between each check. version_added: '2.1' version_added_collection: ansible.builtin