ansible.builtin.uptimerobot (v2.9.27) — module

Pause and start Uptime Robot monitoring

| "added in version" 1.9 of ansible.builtin"

Authors: Nate Kingsley (@nate-kingsley)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

This module will let you start and pause Uptime Robot Monitoring


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Pause the monitor with an ID of 12345.
- uptimerobot:
    monitorid: 12345
    apikey: 12345-1234512345
    state: paused
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Start the monitor with an ID of 12345.
- uptimerobot:
    monitorid: 12345
    apikey: 12345-1234512345
    state: started

Inputs

    
state:
    choices:
    - started
    - paused
    description:
    - Define whether or not the monitor should be running or paused.
    required: true

apikey:
    description:
    - Uptime Robot API key.
    required: true

monitorid:
    description:
    - ID of the monitor to check.
    required: true