Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (25 loc) · 758 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 758 Bytes

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