Skip to content

Commit

Permalink
Merge pull request #42 from mig5/apt_deps_deprecation_fix
Browse files Browse the repository at this point in the history
Remove with_items in dirmngr dependency to avoid deprecation warning
  • Loading branch information
tersmitten authored May 24, 2020
2 parents 13aac6d + ff66d4a commit 4f537a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tasks/repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f537a1

Please sign in to comment.