Fix regex.
This commit is contained in:
parent
f3307f52e9
commit
c51ddae051
@ -8,7 +8,7 @@
|
|||||||
failed_when: "result_apache_scuttle_systemd_stop is failed and 'Could not find the requested service' not in result_apache_scuttle_systemd_stop.msg"
|
failed_when: "result_apache_scuttle_systemd_stop is failed and 'Could not find the requested service' not in result_apache_scuttle_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if apache-scuttle container is running
|
- name: Check if apache-scuttle container is running
|
||||||
command: 'podman ps -q --filter "name=apache-scuttle"'
|
command: 'podman ps -q --filter "name=^apache-scuttle$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
@ -27,7 +27,7 @@
|
|||||||
failed_when: "result_php5_fpm_systemd_stop is failed and 'Could not find the requested service' not in result_php5_fpm_systemd_stop.msg"
|
failed_when: "result_php5_fpm_systemd_stop is failed and 'Could not find the requested service' not in result_php5_fpm_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if php5-fpm container is running
|
- name: Check if php5-fpm container is running
|
||||||
command: 'podman ps -q --filter "name=php5-fpm"'
|
command: 'podman ps -q --filter "name=^php5-fpm$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
failed_when: "result_global_cron_systemd_stop is failed and 'Could not find the requested service' not in result_global_cron_systemd_stop.msg"
|
failed_when: "result_global_cron_systemd_stop is failed and 'Could not find the requested service' not in result_global_cron_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if global-cron container is running
|
- name: Check if global-cron container is running
|
||||||
command: 'podman ps -q --filter "name=global-cron"'
|
command: 'podman ps -q --filter "name=^global-cron$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
failed_when: "result_dovecot_systemd_stop is failed and 'Could not find the requested service' not in result_dovecot_systemd_stop.msg"
|
failed_when: "result_dovecot_systemd_stop is failed and 'Could not find the requested service' not in result_dovecot_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if dovecot container is running
|
- name: Check if dovecot container is running
|
||||||
command: 'podman ps -q --filter "name=dovecot"'
|
command: 'podman ps -q --filter "name=^dovecot$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
failed_when: "result_feed2imap_systemd_stop is failed and 'Could not find the requested service' not in result_feed2imap_systemd_stop.msg"
|
failed_when: "result_feed2imap_systemd_stop is failed and 'Could not find the requested service' not in result_feed2imap_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if feed2imap container is running
|
- name: Check if feed2imap container is running
|
||||||
command: 'podman ps -q --filter "name=feed2imap"'
|
command: 'podman ps -q --filter "name=^feed2imap$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
failed_when: "result_gitea_systemd_stop is failed and 'Could not find the requested service' not in result_gitea_systemd_stop.msg"
|
failed_when: "result_gitea_systemd_stop is failed and 'Could not find the requested service' not in result_gitea_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if gitea container is running
|
- name: Check if gitea container is running
|
||||||
command: 'podman ps -q --filter "name=gitea"'
|
command: 'podman ps -q --filter "name=^gitea$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
failed_when: "result_internal_named_systemd_stop is failed and 'Could not find the requested service' not in result_internal_named_systemd_stop.msg"
|
failed_when: "result_internal_named_systemd_stop is failed and 'Could not find the requested service' not in result_internal_named_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if internal_named container is running
|
- name: Check if internal_named container is running
|
||||||
command: 'podman ps -q --filter "name=internal_named"'
|
command: 'podman ps -q --filter "name=^internal_named$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
failed_when: "result_onlyoffice_document_server_systemd_stop is failed and 'Could not find the requested service' not in result_onlyoffice_document_server_systemd_stop.msg"
|
failed_when: "result_onlyoffice_document_server_systemd_stop is failed and 'Could not find the requested service' not in result_onlyoffice_document_server_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if onlyoffice-document-server container is running
|
- name: Check if onlyoffice-document-server container is running
|
||||||
command: 'podman ps -q --filter "name=onlyoffice-document-server"'
|
command: 'podman ps -q --filter "name=^onlyoffice-document-server$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
failed_when: "result_registry_systemd_stop is failed and 'Could not find the requested service' not in result_registry_systemd_stop.msg"
|
failed_when: "result_registry_systemd_stop is failed and 'Could not find the requested service' not in result_registry_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if registry container is running
|
- name: Check if registry container is running
|
||||||
command: 'podman ps -q --filter "name=registry"'
|
command: 'podman ps -q --filter "name=^registry$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
failed_when: "result_store_metrics_in_db_systemd_stop is failed and 'Could not find the requested service' not in result_store_metrics_in_db_systemd_stop.msg"
|
failed_when: "result_store_metrics_in_db_systemd_stop is failed and 'Could not find the requested service' not in result_store_metrics_in_db_systemd_stop.msg"
|
||||||
|
|
||||||
- name: Check if store-metrics-in-db container is running
|
- name: Check if store-metrics-in-db container is running
|
||||||
command: 'podman ps -q --filter "name=store-metrics-in-db"'
|
command: 'podman ps -q --filter "name=^store-metrics-in-db$"'
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: podman_ps
|
register: podman_ps
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user