From: Sébastien Han Date: Tue, 11 Mar 2014 14:24:51 +0000 (+0100) Subject: Cosmetic on apt module X-Git-Tag: v1.0.0~389^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=cc7f2ab2ab2a503f9b3e1a035e3455adb63eeb2b;p=ceph-ansible.git Cosmetic on apt module Use 'present' instead of 'installed'. Signed-off-by: Sébastien Han --- 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