Welcome to the server {{ ansible_facts['hostname'] }}.
|
This system proudly runs {{ ansible_facts['distribution'] }} {{ ansible_facts['distribution_version'] }}.
|
|
{# this is a comment #}
|
{% if ansible_machine == 'x86_64' %}
|
We are running 64bit mode.
|
{% endif %}
|
|
This system has the following IPv4 addresses configured:
|
{% for myip in ansible_facts['all_ipv4_addresses'] %}
|
- IP #{{ loop.index }}: {{ myip }}
|
|
Debug: {{ loop }}
|
{% endfor %}
|