diff --git a/templates/start.j2 b/templates/start.j2 index cbaed42..0c6d98a 100644 --- a/templates/start.j2 +++ b/templates/start.j2 @@ -1,3 +1,5 @@ +====== Alle Hosts ====== + ^ Host \\ IP ^ Hardware ^ Distribution \\ Version ^ Package Mgr \\ Installed ^ Service Mgr ^ {% for h in hostvars|sort %}^ [[ {{ h }} ]] \\ {{ hostvars[h]['ansible_default_ipv4']['address']|default('-') }} {# #}{% if 'ansible_distribution' in hostvars[h] %} {# @@ -14,3 +16,8 @@ {% endif %} {% endfor %} +===== Hosts ohne systemd ===== +{% for h in hostvars|sort if hostvars[h]['ansible_service_mgr'] != 'systemd' %} + * [[ {{ h }} | {{ h }} ({{ hostvars[h]['ansible_service_mgr'] }}) ]] +{% endfor %} +