diff --git a/tasks/repository.yml b/tasks/repository.yml index 325b3a8..da86cbb 100644 --- a/tasks/repository.yml +++ b/tasks/repository.yml @@ -2,12 +2,11 @@ --- - 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-toolkit-repository-install