From f7ebdc27bc0636de970beb9bc68f36eaddcc0667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de> Date: Thu, 5 Aug 2021 18:42:36 +0200 Subject: [PATCH] refactor: remove individual task tags in favor of tag inheritance --- tasks/configure-iptables.yml | 2 -- tasks/configure-nfs-mounts.yml | 3 +-- tasks/configure-squid-proxy.yml | 2 -- tasks/install-packages.yml | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/tasks/configure-iptables.yml b/tasks/configure-iptables.yml index 1c14a31..d6d1e52 100644 --- a/tasks/configure-iptables.yml +++ b/tasks/configure-iptables.yml @@ -18,7 +18,6 @@ loop: "{{ vault_iptables|flatten(levels=1) }}" notify: - save iptables rules - tags: [iptables] - name: iptables-Regeln setzen (HTTPS) iptables: @@ -39,4 +38,3 @@ loop: "{{ vault_iptables|flatten(levels=1) }}" notify: - save iptables rules - tags: [iptables] diff --git a/tasks/configure-nfs-mounts.yml b/tasks/configure-nfs-mounts.yml index dc62523..1bb1371 100644 --- a/tasks/configure-nfs-mounts.yml +++ b/tasks/configure-nfs-mounts.yml @@ -7,7 +7,6 @@ owner: "proxy" group: "root" mode: 0755 - tags: [nfs] - name: NFS-Shares für Logging mounten mount: @@ -16,4 +15,4 @@ state: mounted fstype: "nfs" opts: "defaults,nodev,nosuid,rsize=8192,wsize=8192,vers=3" - tags: [nfs, notest] + tags: [notest] diff --git a/tasks/configure-squid-proxy.yml b/tasks/configure-squid-proxy.yml index aa1bbc6..04a2353 100644 --- a/tasks/configure-squid-proxy.yml +++ b/tasks/configure-squid-proxy.yml @@ -6,7 +6,6 @@ dest: "/etc/squid/squid.conf" notify: - restart squid proxy - tags: [proxy] - name: Konfigurationsdateien einspielen - logrotate copy: @@ -14,4 +13,3 @@ dest: "/etc/logrotate.d/squid3" notify: - restart squid proxy - tags: [proxy] diff --git a/tasks/install-packages.yml b/tasks/install-packages.yml index 1cc34a2..4521970 100644 --- a/tasks/install-packages.yml +++ b/tasks/install-packages.yml @@ -10,4 +10,3 @@ 'unzip' ] update_cache: "yes" - tags: [apt] -- GitLab