Systemd listens on port 22 on Ubuntu Noble
This causes the Molecule test to fail:
ok: [localhost] =>
ansible_facts.tcp_listen:
- address: '*'
name: sshd
pid: 1958
port: 22
protocol: tcp
stime: Sun Oct 20 15:46:03 2024
user: root
- address: '*'
name: systemd
pid: 1
port: 22
protocol: tcp
stime: Sun Oct 20 15:44:43 2024
user: root
TASK [ssh : Check ssh_ports values] ********************************************
ok: [localhost] => (item=22)
failed: [localhost] (item=22) =>
ansible_loop_var: ssh_port
assertion: ssh_port not in ssh_not_listening_ports
changed: false
evaluated_to: false
msg: Assertion failed
ssh_port: 22