Start role icinga2_agent

This commit is contained in:
Tunui Franken 2025-01-12 10:45:08 +01:00
parent db0de9e945
commit 905b934e13
3 changed files with 16 additions and 0 deletions

View file

@ -21,3 +21,9 @@
hosts: lime2servers
roles:
- role: icinga2_master
- name: Setup Icinga2 agent
gather_facts: true
hosts: mailservers
roles:
- role: icinga2_agent

View file

@ -0,0 +1,3 @@
# Icinga2 agent
Sets up an Icinga2 agent node.

View file

@ -0,0 +1,7 @@
---
- name: Restart icinga2 service
become: true
ansible.builtin.systemd:
name: icinga2
state: restarted