do not report port as changed if not actually changed

This commit is contained in:
max.mehl 2022-03-04 15:05:54 +01:00
parent e55fa5b4da
commit d059c84a51
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92

View File

@ -106,6 +106,8 @@
innernet set-listen-port {{ network_name }} \ innernet set-listen-port {{ network_name }} \
-l {{ network_listen_port_clients }} \ -l {{ network_listen_port_clients }} \
--yes --yes
register: listen_port_changed
changed_when: "'No change necessary' not in listen_port_changed.stdout"
- name: Allow UDP traffic on WireGuard port - name: Allow UDP traffic on WireGuard port
tags: [listen_port] tags: [listen_port]