blob: c8d5a44f3923c85bb0be5aa99abf9cd4a15cc092 (
plain) (
tree)
|
|
{% for host in groups["servers"] %}
{% set host = hostvars[host] %}
Match originalhost dcontroller exec "systemctl is-active wg-quick@{{ _i.dcontroller }}.service"
HostName {{ host.ip.inbound }}
Port {{ host.services.tcp.ssh }}
Match originalhost {{ host.ansible_host }}
HostName {{ host.ip.outbound }}
Port {{ host.services.tcp.ssh }}
User root
{% endfor %}
|