Do not forcefully restart socket

With state:restarted for socket it will be restarted on each playbook
run, even when it's not needed. Instead, we should restart socket
only when it's changed.

Depends-On: https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/871526
Change-Id: Ia7d3d1cbfa3aea934d10262a8556952e58e82953
This commit is contained in:
Dmitriy Rabotyagov 2023-01-23 19:17:39 +01:00
parent 1eb6f73fe6
commit bfe6dffee0
1 changed files with 0 additions and 1 deletions

View File

@ -53,7 +53,6 @@
sockets:
- socket_name: "mariadbcheck"
enabled: "{{ galera_monitoring_check_enabled }}"
state: "restarted"
options:
ListenStream: "{{ galera_server_bind_address }}:{{ galera_monitoring_check_port }}"
IPAddressDeny: any