feat (roles): copies a config with hosts rules in human admin ~/.ssh

This commit is contained in:
2026-09-01 10:18:30 +05:00
parent e0571783ba
commit 4897cdadbd
2 changed files with 24 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# PUT NEW BLOCKS STRICTLY BEFORE ANY MATCH BLOCK
# Private keys are NOT distributed via Ansible
# They must to be copied manually ONLY to those hosts that need access to others
# Most of the home major LAN hosts should be accessible with this key
Match 192.168.0.0/24
User max
IdentityFile ~/.ssh/max_regular_key
# This virtual network has the same hosts range
Match 10.9.2.0/24
User max
IdentityFile ~/.ssh/max_regular_key