]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-config: Set changed_when to false on fact gathering statements
authorKevin Coakley <kcoakley@sdsc.edu>
Thu, 8 Aug 2019 22:32:38 +0000 (15:32 -0700)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 22 Aug 2019 15:27:58 +0000 (17:27 +0200)
commite11cbbbcb1f4c9ef45546b94d571a6e1ba7d7678
tree5eae972ce8ff407857c5a666db86c25aaf924abd
parent8e3511ddc7c20b8a011664a1a258a33b2f9a94dd
ceph-config: Set changed_when to false on fact gathering statements

The "run 'ceph-volume lvm batch --report' to see how many osds are to be
created" and "run 'ceph-volume lvm list' to see how many osds have already been
created" statements only register the lvm_batch_report and lvm_list variables.
Running those ceph-volume commands 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-config/tasks/main.yml