From bb2275fa8493ffcf04bc3ae301d3894657c9f938 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 27 Dec 2018 14:13:42 +0100 Subject: [PATCH] Fix deprecation warning (Ansible 2.7) Signed-off-by: Knut Ahlers --- tasks/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index a6f49fe..f1a19f9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -9,12 +9,10 @@ - python-pip update_cache: yes -- name: Install required pip packages +- name: Install required pip package pip: - name: "{{ item }}" + name: boto state: latest - with_items: - - boto - name: Get current duplicity-backup version shell: "/usr/local/bin/duplicity-backup --version || true"