]> 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 18:36:39 +0000 (20:36 +0200)
commitc7950d5539fd90a1e6613213c29ccac12501320d
treeec0d47c3b1935095ce0b853ff4c8860c5a191fce
parent3e17c458d0c3ab488bef2bfc2a90277e13bb6736
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>
(cherry picked from commit e11cbbbcb1f4c9ef45546b94d571a6e1ba7d7678)
roles/ceph-config/tasks/main.yml