]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
update: show all daemons version at the end
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 20 Mar 2019 18:11:32 +0000 (19:11 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Mon, 25 Mar 2019 20:02:56 +0000 (16:02 -0400)
Let's display all daemons version at the end of the playbook.

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

index 994bc051ac7e5e90d596da3cf1b14fbca41ac99a..dc557b71663b93de5296e3bd9ea9d5338cc35fdd 100644 (file)
 
     - name: show ceph status
       command: "{{ docker_exec_cmd_status|default('') }} ceph --cluster {{ cluster }} -s"
+      run_once: True
+      delegate_to: "{{ groups[mon_group_name][0] }}"
+
+    - name: show all daemons version
+      command: "{{ docker_exec_cmd_status|default('') }} ceph --cluster {{ cluster }} versions"
+      run_once: True
       delegate_to: "{{ groups[mon_group_name][0] }}"