Include ssh port, country, isp and wiki page in inventory.yml

This commit is contained in:
2023-05-14 19:08:15 +08:00
parent 53b6a53168
commit c5c9f75cc8
6 changed files with 21 additions and 43 deletions

View File

@ -1,8 +1,4 @@
{% if inventory_hostname == 'eu' %}
Port 222
{% else %}
Port 22
{% endif %}
Port {{port}}
PermitRootLogin prohibit-password
PasswordAuthentication no
PermitEmptyPasswords no