Skip to content
Creates a status cake test from ansible
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
library
README.md
dict_example.yml
example_play.yml

README.md

Ansible-statuscake

This ansible module setups a test on statuscake API.

Requirements

Ansible 2.1

Installation

Just copy the library/status_cake_test.py in your playbook folder

Example usage:

- hosts: localhost
  vars_files:
    - "dict_example.yml"

  tasks:
    - name: Create status cake test
      status_cake_test:
        username: "example_user"
        api_key: "som3thing1se3cret"
        name: "{{ item.value.url }}"
        url: "{{ item.value.url }}"
        test_tags: "something"
        test_type: "HTTP"
        check_rate: 300
        user_agent: "Status Cake Monitoring"
      with_dict: "{{ example }}"

TODO

  • Role for Ansible galaxy
  • Edge cases
You can’t perform that action at this time.