mirror of
https://github.com/Apress/Beginning-Ansible-Concepts-and-Application.git
synced 2024-11-14 11:08:16 +01:00
16 lines
279 B
Django/Jinja
16 lines
279 B
Django/Jinja
My website, served from {{ inventory_hostname }}
|
|
|
|
<p>
|
|
IP Addresses:<br />
|
|
{% for ip in ansible_all_ipv4_addresses %}
|
|
{{ ip }}<br />
|
|
{% endfor %}
|
|
</p>
|
|
|
|
<p>
|
|
Operating System:<br />
|
|
{% for key, value in ansible_lsb.items() %}
|
|
{{ key }}: {{ value }}<br />
|
|
{% endfor %}
|
|
</p>
|
|
|