Fix regex.

This commit is contained in:
yohan 2024-11-03 22:42:40 +01:00
parent e843cefff4
commit d90e2ea909

View File

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