This commit is contained in:
parent
7cccd67dc7
commit
fda2e19c49
@ -23,4 +23,5 @@ def test_mosquitto_running_and_enabled(host):
|
||||
def test_mosquitto_socket(host):
|
||||
# Verify the socket is listening for HTTP traffic
|
||||
ansible_vars = host.ansible.get_variables()
|
||||
assert host.socket("tcp://{}:8883".format(ansible_vars['ansible_default_ipv4']['address'])).is_listening
|
||||
assert host.socket("tcp://{}:8883".format(
|
||||
ansible_vars['ansible_default_ipv4']['address'])).is_listening
|
||||
|
Loading…
Reference in New Issue
Block a user