Add SSH pub key and fix ProLiant link

certbot_on_virtu
Alexandre Iooss 2020-07-01 11:37:35 +02:00
parent 1e28c82ca8
commit 21db69864c
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 19 additions and 2 deletions

View File

@ -1,7 +1,7 @@
---
- name: Install python3-dmidecode
apt:
update_cache: true
# update_cache: true
name: python3-dmidecode
register: apt_result
retries: 3

View File

@ -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 }}
{{ '}}}' }}