Fix regex.
This commit is contained in:
parent
80907f7beb
commit
33ef679bb5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user