]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
update: remove legacy
authorGuillaume Abrioux <gabrioux@redhat.com>
Mon, 13 Jan 2020 15:39:31 +0000 (16:39 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 13 Jan 2020 20:18:45 +0000 (15:18 -0500)
This task is a code duplicate, probably a legacy, let's remove it.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/rolling_update.yml

index 7c54e530d6f8c1158ad4a98bb6a2eb17517e8078..459198e54c8cb2d51fe6b15d57b70961851116f0 100644 (file)
     - import_role:
         name: ceph-osd
 
-    - name: get osd numbers
-      shell: "if [ -d /var/lib/ceph/osd ] ; then ls /var/lib/ceph/osd | sed 's/.*-//' ; fi"
-      register: osd_ids
-      changed_when: false
-      when: not containerized_deployment | bool
-
     - name: start ceph osd
       systemd:
         name: ceph-osd@{{ item }}