additional course material RH294
Student User
2019-12-04 97d9af6275244e31f05c2916fc72a8daa9ea9fa0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Welcome to the server {{ ansible_facts['hostname'] }}.
This system proudly runs {{ ansible_facts['distribution'] }} {{ ansible_facts['distribution_version'] }}.
 
{# this is a comment #}
{% if package == 'httpd' %}
The main purpose of this machine is serving web content.
{% endif %}
{% if package == 'mariadb-server' %}
The main purpose of this machine is running a MariaDB.
{% endif %}
 
This system has the following IPv4 addresses configured:
{% for myip in ansible_facts['all_ipv4_addresses'] %}
- IP #{{ loop.index }}: {{ myip }}
{% endfor %}