From 572ba730fec2f355fd220c16e75b5d2da3c6ef75 Mon Sep 17 00:00:00 2001 From: jaydee Date: Wed, 6 Dec 2023 16:51:42 +0100 Subject: [PATCH] 111 --- playbooks/start_containers.yaml | 5 +++++ playbooks/stop_containers.yaml | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 playbooks/start_containers.yaml create mode 100644 playbooks/stop_containers.yaml diff --git a/playbooks/start_containers.yaml b/playbooks/start_containers.yaml new file mode 100644 index 0000000..c17d698 --- /dev/null +++ b/playbooks/start_containers.yaml @@ -0,0 +1,5 @@ +--- +- name: Start mailu containers + command: "docker start nginx-app-1 heimdall mailu2-admin-1 mailu2-antispam-1 mailu2-antivirus-1 mailu2-fetchmail-1 mailu2-front-1 mailu2-imap-1 mailu2-oletools-1 mailu2-redis-1 mailu2-resolver-1 mailu2-smtp-1 mailu2-webdav-1 mailu2-webmail-1 HomeAssistant mosquitto-mosquitto-1" + become: true + ignore_errors: true \ No newline at end of file diff --git a/playbooks/stop_containers.yaml b/playbooks/stop_containers.yaml new file mode 100644 index 0000000..9dce13b --- /dev/null +++ b/playbooks/stop_containers.yaml @@ -0,0 +1,5 @@ +--- +- name: Stop mailu containers + command: "docker stop nginx-app-1 heimdall mailu2-admin-1 mailu2-antispam-1 mailu2-antivirus-1 mailu2-fetchmail-1 mailu2-front-1 mailu2-imap-1 mailu2-oletools-1 mailu2-redis-1 mailu2-resolver-1 mailu2-smtp-1 mailu2-webdav-1 mailu2-webmail-1 HomeAssistant mosquitto-mosquitto-1" + become: true + ignore_errors: true \ No newline at end of file