On Fri, Dec 04, 2020 at 01:30:48AM +0100, Pavel Cahyna wrote:
To explain why I started the discussion, the context in the VPN case
is
that you will usually need this parameter for multihomed hosts, but then
it is not used to specify the host, but the network interface/address
among the multiple ones on the given host. The fact that the "host"
parameter would be used inside a dictionary under a "hosts" list reveals
how illogical it is. (Why does a host - an entry under the hosts list -
does need a "host" attribute? It is a host in itself.)
How about?
```yaml
hosts:
- host:
address: vpn.example.org:443
interface: eth1
```
--
Gris Ge