Skip to content

ecometrica/ansible-statuscake-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible modules to control statuscake.com tests

Currently, this module just pauses and unpauses the given test

Installation

Use ansible-galaxy to install the statuscake role.

Usage

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.

Versions

  • 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.

About

Statuscake role/module for ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages