switching vps to be the icinga master

This commit is contained in:
2023-12-09 18:49:30 -05:00
parent 1333c3e4a0
commit fa41a5bfd3
8 changed files with 166 additions and 100 deletions

7
icinga2/init.sls Normal file
View File

@@ -0,0 +1,7 @@
include:
{% if salt.pillar.get("icinga2:ssh_client", None) is not none %}
- icinga2.ssh_client
{% endif %}
{% if salt.pillar.get("icinga2:server", None) is not none %}
- icinga2.server
{% endif %}