Fix regex.

This commit is contained in:
yohan 2024-11-03 17:21:11 +01:00
parent 80907f7beb
commit 33ef679bb5

View File

@ -13,7 +13,7 @@
failed_when: "result_fetchmail_systemd_stop is failed and 'Could not find the requested service' not in result_fetchmail_systemd_stop.msg"
- name: Check if fetchmail-{{ fetchmail_instance }} container is running
command: 'podman ps -q --filter "name=fetchmail-{{ fetchmail_instance }}"'
command: 'podman ps -q --filter "name=^fetchmail-{{ fetchmail_instance }}$"'
changed_when: false
register: podman_ps
become: true