ansible-middleware / amq

A collection to manage AMQ brokers
Apache License 2.0
16 stars 12 forks source link

New flags make systemd unit wait for activemq ports or logs #50

Closed guidograzioli closed 1 year ago

guidograzioli commented 1 year ago

The new variable, enabled by default when ha is enabled, adds a configuration to the systemd unit so that service start/restart commands return only after ports are open / console log line

Variable Description Default
activemq_systemd_wait_for_port Whether systemd unit should wait for activemq_port before returning True when activemq_ha_enabled is True and activemq_shared_storage is False
activemq_systemd_wait_for_log Whether systemd unit should wait for service to be up in logs True when activemq_ha_enabled and activemq_shared_storage are True