From 130a53ed58ce964732f85a2e367274acaee05cd9 Mon Sep 17 00:00:00 2001 From: Marius Alwan Meyer <22202402+sporqist@users.noreply.github.com> Date: Sat, 29 Apr 2023 20:49:54 +0000 Subject: [PATCH] lint --- .ansible-lint-ignore | 2 +- handlers/main.yaml | 1 - tasks/main.yaml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.ansible-lint-ignore b/.ansible-lint-ignore index 2bd0723..19ccc8a 100644 --- a/.ansible-lint-ignore +++ b/.ansible-lint-ignore @@ -3,4 +3,4 @@ # Warnungen und Fehler von ansible-lint ignoriert werden. tasks/main.yaml no-handler # Der Restart / Recreate Gitea Task ist gut dort, wo er ist -tasks/start.yaml name[template] # Es braucht zwei Templates, um den FQDN zusammenzusetzen. +tasks/start.yaml ignore-errors # Der Task darf das Playbook nicht abbrechen. diff --git a/handlers/main.yaml b/handlers/main.yaml index fec8721..6ab2165 100644 --- a/handlers/main.yaml +++ b/handlers/main.yaml @@ -40,4 +40,3 @@ - name: Output Docker Compose State ansible.builtin.debug: var: docker_compose - when: gitea_docker_compose.changed diff --git a/tasks/main.yaml b/tasks/main.yaml index c70c9e0..c703a16 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -62,7 +62,7 @@ - Backup Gitea - name: Execute Handlers before changing configfiles - meta: flush_handlers + ansible.builtin.meta: flush_handlers - name: Upload Environment File ansible.builtin.template: