Premier commit
This commit is contained in:
commit
518c7ab04b
49 files changed
+1120
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr-FR">
|
||||
<head>
|
||||
<title>Machine {{inventory_hostname}}</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Distribution : {{ansible_distribution}}</h1>
|
||||
<p>Major version : {{ansible_distribution_major_version}}</p>
|
||||
<p>Distribution version : {{ansible_distribution_version}}</p>
|
||||
<p>Révision : {{ansible_distribution_release}}</p>
|
||||
<p>IP : {{ ansible_default_ipv4.address }} - {{ ansible_ens33.ipv4.address }}
|
||||
{% for interface_name in ansible_interfaces %}
|
||||
<p>IP ({{ interface_name }}): {{ hostvars[inventory_hostname]['ansible_' + interface_name]['ipv4']['address'] }}</p>
|
||||
{% endfor %}
|
||||
</p>
|
||||
<p>RAM : {{ ansible_memtotal_mb }} Mb</p>
|
||||
{% for cpu in ansible_processor %}
|
||||
<p>CPU : {{ cpu }}</p>
|
||||
{% endfor %}
|
||||
</body>
|
||||
Reference in new issue
Block a user