Fix regex.
This commit is contained in:
parent
e843cefff4
commit
d90e2ea909
@ -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"
|
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
|
- name: Check if nextcloud container is running
|
||||||
command: 'podman ps -q --filter "name=nextcloud"'
|
command: 'podman ps -q --filter "name=^nextcloud$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user