ho-ansible / ansible

Playbooks and config for remote administration
1 stars 0 forks source link

tinc: delegate_to uses ansible_port of current host #82

Closed seanho00 closed 6 years ago

seanho00 commented 6 years ago

genkey task pushes keys for new host to VPN servers -- but accesses them using ansible_port (and other vars) from the new host, rather than the VPN servers.

Bug occurs when instantiating a new NAT host, where the ssh port is different from the VPN servers.