Add SSH pub key and fix ProLiant link
parent
1e28c82ca8
commit
21db69864c
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: Install python3-dmidecode
|
||||
apt:
|
||||
update_cache: true
|
||||
# update_cache: true
|
||||
name: python3-dmidecode
|
||||
register: apt_result
|
||||
retries: 3
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
{% endif %}
|
||||
'''Matériel''' :
|
||||
{{ ansible_system_vendor }} {{ ansible_product_name }}
|
||||
{{ ansible_system_vendor }} {{ ansible_product_name | replace('ProLiant', '!ProLiant') }}
|
||||
|
||||
'''Domaine''' :
|
||||
{{ ansible_domain }}
|
||||
|
@ -76,3 +76,20 @@ et {{ (ansible_memory_mb.swap.total/1024)|round(1) }} GiB de SWAP.
|
|||
{{ interface.macaddress }} ||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
=== Clés publiques SSH de la machine ===
|
||||
|
||||
'''RSA''' :
|
||||
{{ '{{{' }}
|
||||
{{ ansible_ssh_host_key_rsa_public | wordwrap }}
|
||||
{{ '}}}' }}
|
||||
|
||||
'''ECDSA''' :
|
||||
{{ '{{{' }}
|
||||
{{ ansible_ssh_host_key_ecdsa_public | wordwrap }}
|
||||
{{ '}}}' }}
|
||||
|
||||
'''ED25519''' :
|
||||
{{ '{{{' }}
|
||||
{{ ansible_ssh_host_key_ed25519_public | wordwrap }}
|
||||
{{ '}}}' }}
|
||||
|
|
Loading…
Reference in New Issue