]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Add changed_when: false to the "get osd ids" statement
authorKevin Coakley <kcoakley@sdsc.edu>
Thu, 28 Feb 2019 20:57:03 +0000 (12:57 -0800)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Thu, 28 Feb 2019 22:46:19 +0000 (22:46 +0000)
commit038401fef2e80c11dbaabbf1bb5f2a8efd9b18fc
treedc431b0103f2171610cc8daff2211b84c2980b40
parent573adce7dd4f306c384b3308c8049ae49ef59716
Add changed_when: false to the "get osd ids" statement

The "get osd ids" statement only registers the osd_ids_non_container variable. Running "ls /var/lib/ceph/osd/ | sed 's/.*-//'" should never produce a change on the system. Adding changed_when: false prevents irrelevant change messages from Ansible.

Signed-off-by: Kevin Coakley <kcoakley@sdsc.edu>
roles/ceph-osd/tasks/start_osds.yml