From 5cbbf280016fd7156a5a57b7959a09f500da18de Mon Sep 17 00:00:00 2001 From: Andrey Limachko Date: Mon, 18 Apr 2022 14:59:20 +0400 Subject: [PATCH] Kerberos5: Fix update_cache to omit removed tasks warnings --- roles/kerberos5/tasks/client.yml | 1 - roles/kerberos5/tasks/master.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/roles/kerberos5/tasks/client.yml b/roles/kerberos5/tasks/client.yml index 31926e3..d817da1 100644 --- a/roles/kerberos5/tasks/client.yml +++ b/roles/kerberos5/tasks/client.yml @@ -11,7 +11,6 @@ apt_rpm: pkg: "{{ krb5_cl_packages | join(',')}}" state: installed - update_cache: yes when: krb5_cl_packages | length > 0 - name: register node in localhost hostvars diff --git a/roles/kerberos5/tasks/master.yml b/roles/kerberos5/tasks/master.yml index 4dd504d..92e98cc 100644 --- a/roles/kerberos5/tasks/master.yml +++ b/roles/kerberos5/tasks/master.yml @@ -10,7 +10,6 @@ apt_rpm: pkg: "{{ krb5_packages | join(',')}}" state: installed - update_cache: yes when: krb5_packages | length > 0 # Configure /etc/hosts and avoid complex DNS configuration for KDC