feat: Create role

This commit is contained in:
2022-10-15 04:51:17 +02:00
committed by pulsar89.5
parent 079950f42f
commit 918c54bbc3
11 changed files with 267 additions and 4 deletions

24
defaults/main.yml Normal file
View File

@@ -0,0 +1,24 @@
---
# defaults file for hcio
# Path to store checks UUID
hcio_local_facts_file: /etc/ansible/facts.d/hcio.fact
# Path to store scripts
hcio_path: /srv/healthchecksio
# Informations about hcio server
hcio_url: ""
hcio_api_key: ""
# Add prefix on slug
hcio_slug_prefix: "{{ inventory_hostname | replace('.', '_') }}-"
# Define checks
hcio_checks: []
# Example :
# - name: "{{ inventory_hostname }}"
# tags: "{{ group_names }}"
# timeout: 300
# channels: "{{ hcio_host_channels }}"
# target: host