Fix deprecation warning (Ansible 2.7)

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-12-27 14:07:00 +01:00
parent 4095d528de
commit 1f8b8b0256
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 6 additions and 7 deletions

View file

@ -5,7 +5,7 @@ galaxy_info:
Install and configure duplicity and duplicity-backup on host Install and configure duplicity and duplicity-backup on host
license: Apache license: Apache
min_ansible_version: 2.3 min_ansible_version: 2.7
platforms: platforms:
- name: Ubuntu - name: Ubuntu

View file

@ -2,13 +2,12 @@
- name: Install required apt packages - name: Install required apt packages
apt: apt:
name: "{{ item }}" name:
update_cache: yes
with_items:
- duplicity - duplicity
- gnupg - gnupg
- lftp - lftp
- python-pip - python-pip
update_cache: yes
- name: Install required pip packages - name: Install required pip packages
pip: pip: