additional course material RH294
Student User
2019-12-04 97d9af6275244e31f05c2916fc72a8daa9ea9fa0
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