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 %}