skupperproject/skupper-ansible#80
This test creates a site and starts it, before adding a Listener and a Connector and reloading the site.
Next, it checks the consequence of the creation of the Listener: port 8082 should be opened.
It works fine for platforms podman and docker, but it fails for linux. And that's because the process is never restarted on systemd.
The playbook provides a way to see that, showing the timestamps of the skrouterd configuration file and of the process: on linux only, the file is more recent than the process.
If one manually stops and starts the systemd service on the target machine, however, the port gets opened.
Note that the test has listener and container on the same namespace with the same routingKey. The intention is simply to have the listener match so it opens the port.
To run the test:
ansible-playbook -i SOME_IP, ./main.yaml -e skupper_platform=linux -vv
Experiment with the differet platforms.