mirror of
https://github.com/Apress/Beginning-Ansible-Concepts-and-Application.git
synced 2024-11-14 19:18:12 +01:00
17 lines
279 B
Text
17 lines
279 B
Text
|
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>
|
||
|
|