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 package == 'httpd' %}
6 The main purpose of this machine is serving web content.
7 {% endif %}
8 {% if package == 'mariadb-server' %}
9 The main purpose of this machine is running a MariaDB.
10 {% endif %}
11
12 This system has the following IPv4 addresses configured:
13 {% for myip in ansible_facts['all_ipv4_addresses'] %}
14 - IP #{{ loop.index }}: {{ myip }}
15 {% endfor %}