additional course material RH294
Olaf Bohlen
2019-12-04 96eda8797a3510ea39108406fdbedd1d0a1d47e0
commit | author | age
97d9af 1 Welcome to the server {{ ansible_facts['hostname'] }}.
SU 2 This system proudly runs {{ ansible_facts['distribution'] }} {{ ansible_facts['distribution_version'] }}.
3
4 {# this is a comment #}
5 {% if ansible_machine == 'x86_64' %}
6 We are running 64bit mode.
7 {% endif %}
8
9 This system has the following IPv4 addresses configured:
10 {% for myip in ansible_facts['all_ipv4_addresses'] %}
11 - IP #{{ loop.index }}: {{ myip }}
12
13 Debug: {{ loop }}
14 {% endfor %}
15