Currently, this module just pauses and unpauses the given test
Use ansible-galaxy
to install the statuscake
role.
The following example pauses the given {{test_name}}
.
---
- hosts: localhost
roles:
- {role: statuscake} # Load the statuscake module from the role
tasks:
- statuscake:
username: "{{statuscake_username}}"
api_key: "{{statuscake_api_key}}"
name: "{{test_name}}"
pause: true # Either true to pause, or false to unpause
Note that {{test_name}}
is the full name in status cake, and not the url used by the test.
- 0.1: Module to turn on/off test, need to package as a galaxy role for 1.0
- 1.0.0: Have it packaged as an Ansible Galaxy role.