10.33.160.2 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMfMxFMPazG1qiiBDZo6fcDEMkUD9OLtDjhN9SZqeEj
10.33.148.1 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALadb/dog11xNa9IYKysnfYHwXbRQnk7sUtyTT+KpSH
10.32.148.1 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMmYoMgFPnqkD10+shdaIOTtm4aXhqzbEEcU1nBdCE2P
+10.33.160.3 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMfMxFMPazG1qiiBDZo6fcDEMkUD9OLtDjhN9SZqeEj
hosts = (
[
- '10.33.160.2', # resolver6
- ('10.32.148.1', {'unbound_dir': '/etc/unbound/conf.d'}) # dusk
+ ('resolver6', {'ssh_hostname': '10.33.160.2'}),
+ ('resolver7', {'ssh_hostname': '10.33.160.3'}),
+ ('dusk', {'ssh_hostname': '10.32.148.1', 'unbound_dir': '/etc/unbound/conf.d'})
],
{
- 'ssh_user': 'root',
- # pyinfra uses paramiko, which is unable to parse my ~/.ssh/authorized_keys
- # that contains @cert-authority lines.
- 'ssh_known_hosts_file': 'known_hosts',
- 'unbound_dir': '/etc/unbound/unbound.conf.d',
+ 'ssh_user': 'root',
+ # pyinfra uses paramiko, which is unable to parse my ~/.ssh/authorized_keys
+ # that contains @cert-authority lines.
+ 'ssh_known_hosts_file': 'known_hosts',
+ 'unbound_dir': '/etc/unbound/unbound.conf.d',
}
)