commited current state (new functions, may not work by now)

This commit is contained in:
Ansible Servercow
2025-10-08 09:32:02 +02:00
parent e5f83941b9
commit b21a80af07
54 changed files with 1381 additions and 74 deletions

View File

@@ -0,0 +1,35 @@
- name: "Setup CheckMK Monitoring"
hosts: all
vars_files:
- ../vault.yml
tasks:
- name: "Import create Host Task"
become: true
ansible.builtin.import_role:
name: checkmk-monitoring
tasks_from: create-host.yaml
- name: "Import sign-bake-agents Task"
become: true
ansible.builtin.import_role:
name: checkmk-monitoring
tasks_from: sign-bake-agents.yaml
ignore_errors: true
- name: "Register hosts against a remote site. Both for updates and TLS."
import_role:
name: checkmk.general.agent
tags:
- checkmk-deploy
- name: "Wait 2 Minutes for CheckMK Agent to be ready"
ansible.builtin.pause:
minutes: 2
tags:
- checkmk-deploy
- name: "Import discover-host Task"
become: true
ansible.builtin.import_role:
name: checkmk-monitoring
tasks_from: discover-host.yaml