From e4e3ab7b8d62bc18c29d672cc62c27e2cb05b265 Mon Sep 17 00:00:00 2001 From: Miguel Angel Medinilla Date: Fri, 13 Mar 2020 21:23:42 +0100 Subject: [PATCH] Use present in apt tasks instead of installed (#289) --- tasks/acceptance-tests.yml | 4 ++-- tasks/fixity.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/acceptance-tests.yml b/tasks/acceptance-tests.yml index 8f1094fa..b9709553 100644 --- a/tasks/acceptance-tests.yml +++ b/tasks/acceptance-tests.yml @@ -3,7 +3,7 @@ - name: "Install packages" apt: pkg: "{{ item }}" - state: installed + state: present update_cache: yes cache_valid_time: 3600 with_items: @@ -77,7 +77,7 @@ - name: "Install packages" apt: pkg: "google-chrome-stable" - state: installed + state: present update_cache: yes cache_valid_time: 3600 when: "'Chrome' in archivematica_src_acceptance_tests_browser_list" diff --git a/tasks/fixity.yml b/tasks/fixity.yml index b68b7479..98b6324f 100644 --- a/tasks/fixity.yml +++ b/tasks/fixity.yml @@ -1,7 +1,7 @@ - name: "Install required deb packages " apt: name: "{{ item }}" - state: installed + state: present with_items: - "sqlite3" - "moreutils"