25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
123456789 |
- {% for hostname in groups.all %}
- Host {{hostname}}
- {% if ssh_over_tor and ('ansible_local' in hostvars[hostname]) and ('tor' in hostvars[hostname].ansible_local) and ('ssh' in hostvars[hostname].ansible_local.tor.tor_hidden_services_hostnames) %}
- HostName {{hostvars[hostname].ansible_local.tor.tor_hidden_services_hostnames.ssh}}
- ProxyCommand nc -x 127.0.0.1:9050 -X5 %h %p
- {% elif 'external_ip' in hostvars[hostname] %}
- HostName {{hostvars[hostname].external_ip}}
- {% endif %}
- {% endfor %}
|