Initial project

This commit is contained in:
2024-01-09 14:33:55 +13:00
commit dfdd402158
44 changed files with 1179 additions and 0 deletions

17
tasks/main.yml Normal file
View File

@@ -0,0 +1,17 @@
---
# tasks file for ansible-role-cmk-agent
# Include OS Variables
- include_vars: '{{ ansible_os_family }}.yml'
- include_tasks: '{{ ansible_os_family }}.yml'
- meta: flush_handlers
# Add host to checkmk
- include_tasks: host-management.yml
when: cmk_fresh_install
# Register for automatic agent updates
- include_tasks: '{{ ansible_os_family }}-register.yml'
when: cmk_fresh_install
# Finalize things and collect all available services
- include_tasks: host-configure.yml
when: cmk_fresh_install