This change contains a rework of how connectors configuration is declared/generated, in the case of static_cluster discovery. After the change, settings declared in activemq_connectors are merged with similar settings generated by the collection inferred from play hosts and global variables (formerly, declared settings would override generated settings).
This means that now a deployment of two hosts in static_cluster config, can only declare:
The NIC name to be used for cluster IPv4 addresses (ie. 'eth0')
default_ipv4
will be used to select the specified network interface name when gathering target host IP addresses during cluster formation. By default, default_ipv4, retains the behaviour of picking the NIC that ansible considers default.
This change contains a rework of how
connectors
configuration is declared/generated, in the case ofstatic_cluster
discovery. After the change, settings declared inactivemq_connectors
are merged with similar settings generated by the collection inferred from play hosts and global variables (formerly, declared settings would override generated settings).This means that now a deployment of two hosts in static_cluster config, can only declare:
winstead of the wholly defined:
New role parameter:
activemq_cluster_iface
default_ipv4
will be used to select the specified network interface name when gathering target host IP addresses during cluster formation. By default,
default_ipv4
, retains the behaviour of picking the NIC that ansible considers default.Fix #62