From cc7f2ab2ab2a503f9b3e1a035e3455adb63eeb2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Tue, 11 Mar 2014 15:24:51 +0100 Subject: [PATCH] Cosmetic on apt module MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Use 'present' instead of 'installed'. Signed-off-by: Sébastien Han --- roles/common/tasks/Debian.yml | 2 +- roles/common/tasks/RedHat.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/common/tasks/Debian.yml b/roles/common/tasks/Debian.yml index 1274c6e31..e0d8bef58 100644 --- a/roles/common/tasks/Debian.yml +++ b/roles/common/tasks/Debian.yml @@ -15,7 +15,7 @@ when: ansible_os_family not in ['Debian', 'RedHat'] - name: Install dependancies - apt: pkg={{ item }} state=installed update_cache=yes cache_valid_time=3600 # we update the cache just in case... + apt: pkg={{ item }} state=present update_cache=yes cache_valid_time=3600 # we update the cache just in case... with_items: - python-pycurl - ntp diff --git a/roles/common/tasks/RedHat.yml b/roles/common/tasks/RedHat.yml index 96b734d45..29005e160 100644 --- a/roles/common/tasks/RedHat.yml +++ b/roles/common/tasks/RedHat.yml @@ -15,7 +15,7 @@ when: ansible_os_family not in ['Debian', 'RedHat'] - name: Install dependancies - yum: name={{ item }} state=installed + yum: name={{ item }} state=present with_items: - python-pycurl - ntp -- 2.39.5