]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Use latest packages 378/head
authorSébastien Han <seb@redhat.com>
Mon, 17 Aug 2015 09:28:20 +0000 (11:28 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 17 Aug 2015 09:28:20 +0000 (11:28 +0200)
Fix back the rolling update playbook.
However every single time the playbook will run it will check for new
packages and install the latest ones. I don't think this is always the
desired behaviour. We need to find a way to conciliate both...

Signed-off-by: Sébastien Han <seb@redhat.com>
roles/ceph-common/tasks/installs/install_on_debian.yml
roles/ceph-common/tasks/installs/install_on_redhat.yml

index d1813ed2c0c51b1db43ed6e21887e43b27c48253..002f1fdc6949eedf2e1832a469855e2e0bfb5f0d 100644 (file)
@@ -52,7 +52,7 @@
 - name: install ceph
   apt: >
     pkg={{ item }}
-    state=present
+    state=latest
   with_items:
     - ceph
     - ceph-common    #|
@@ -64,7 +64,7 @@
 - name: install rados gateway
   apt: >
     pkg=radosgw
-    state=present
+    state=latest
     update_cache=yes
   when:
     rgw_group_name in group_names
index d133250b686d32e2ded442133b44dcbe090a253b..8b4bb5aef3b9f6c3e663d000b0dae6fc4ac0ea7c 100644 (file)
 - name: install ceph
   yum: >
     name=ceph
-    state=present
+    state=latest
   when: not ceph_stable_rh_storage
 
 - name: install red hat storage ceph mon
   yum: >
     name={{ item }}
-    state=present
+    state=latest
   with_items:
     - ceph
     - ceph-mon
@@ -86,7 +86,7 @@
 - name: install red hat storage ceph osd
   yum: >
     name={{ item }}
-    state=present
+    state=latest
   with_items:
     - ceph
     - ceph-osd
 - name: install rados gateway
   yum: >
     name=ceph-radosgw
-    state=present
+    state=latest
   when:
     rgw_group_name in group_names