Index: List of no-systemd hosts

This commit is contained in:
Sven Velt 2021-10-06 13:14:32 +02:00
parent c108a89431
commit ea68badfd7

View file

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