From ff66d4a535907c6808ab0f35e668fb8359c47db0 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Fri, 22 May 2020 05:21:36 +0000 Subject: [PATCH] Remove with_items in dirmngr dependency to avoid deprecation warning --- tasks/repository.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/repository.yml b/tasks/repository.yml index b15c65b..f774332 100644 --- a/tasks/repository.yml +++ b/tasks/repository.yml @@ -2,12 +2,10 @@ --- - name: repository | install | dependencies apt: - name: "{{ item }}" + name: dirmngr state: "{{ apt_install_state | default('latest') }}" update_cache: true cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}" - with_items: - - dirmngr when: ansible_distribution == 'Debian' and ansible_distribution_version is version('9', '>=') tags: - percona-server-repository-install