From a0aaf0e5a5955f3c214bdaf706581ddc67e83b72 Mon Sep 17 00:00:00 2001 From: Francesco Antognazza Date: Tue, 1 Aug 2023 10:59:37 +0200 Subject: [PATCH] Do not fail playbook on first run --- containers/collabora/tasks.yml | 1 + containers/drone-runner/tasks.yml | 1 + containers/drone-server/tasks.yml | 1 + containers/gitea/tasks.yml | 1 + containers/heimdall/tasks.yml | 1 + containers/nextcloud/tasks.yml | 1 + containers/portainer/tasks.yml | 1 + containers/traefik/tasks.yml | 1 + 8 files changed, 8 insertions(+) diff --git a/containers/collabora/tasks.yml b/containers/collabora/tasks.yml index 3e1bf4a..cdaf3f8 100644 --- a/containers/collabora/tasks.yml +++ b/containers/collabora/tasks.yml @@ -13,6 +13,7 @@ state: stopped loop: - collabora + failed_when: false # - name: Create podman volumes # containers.podman.podman_volume: diff --git a/containers/drone-runner/tasks.yml b/containers/drone-runner/tasks.yml index b4a5fb6..2c7dc85 100644 --- a/containers/drone-runner/tasks.yml +++ b/containers/drone-runner/tasks.yml @@ -13,6 +13,7 @@ state: stopped loop: - drone-runner + failed_when: false - name: Get containers UID ansible.builtin.command: "id -u containers" diff --git a/containers/drone-server/tasks.yml b/containers/drone-server/tasks.yml index 17833e1..7efdfdd 100644 --- a/containers/drone-server/tasks.yml +++ b/containers/drone-server/tasks.yml @@ -13,6 +13,7 @@ state: stopped loop: - drone-server + failed_when: false - name: Create podman volumes containers.podman.podman_volume: diff --git a/containers/gitea/tasks.yml b/containers/gitea/tasks.yml index c123f4b..24f05cd 100644 --- a/containers/gitea/tasks.yml +++ b/containers/gitea/tasks.yml @@ -14,6 +14,7 @@ loop: - gitea - db_gitea + failed_when: false - name: Permit traffic from any IP to ssh port become: true diff --git a/containers/heimdall/tasks.yml b/containers/heimdall/tasks.yml index 4ce488c..1b9b68e 100644 --- a/containers/heimdall/tasks.yml +++ b/containers/heimdall/tasks.yml @@ -13,6 +13,7 @@ state: stopped loop: - heimdall + failed_when: false - name: Create podman volumes containers.podman.podman_volume: diff --git a/containers/nextcloud/tasks.yml b/containers/nextcloud/tasks.yml index b490a04..f3725aa 100644 --- a/containers/nextcloud/tasks.yml +++ b/containers/nextcloud/tasks.yml @@ -15,6 +15,7 @@ - nextcloud - redis_nextcloud - db_nextcloud + failed_when: false - name: Pull container images become_user: containers diff --git a/containers/portainer/tasks.yml b/containers/portainer/tasks.yml index 638b3b4..bfc9fd1 100644 --- a/containers/portainer/tasks.yml +++ b/containers/portainer/tasks.yml @@ -18,6 +18,7 @@ state: stopped loop: - portainer + failed_when: false - name: Pull portainer image become_user: containers diff --git a/containers/traefik/tasks.yml b/containers/traefik/tasks.yml index 5a541e7..26da5b5 100644 --- a/containers/traefik/tasks.yml +++ b/containers/traefik/tasks.yml @@ -18,6 +18,7 @@ state: stopped loop: - traefik + failed_when: false - name: Permit traffic from any IP to http port become: true