mirror of https://github.com/ceph/ceph-ansible.git
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>pull/3663/head
parent
573adce7dd
commit
038401fef2
|
@ -37,6 +37,7 @@
|
||||||
- name: get osd ids
|
- name: get osd ids
|
||||||
shell: |
|
shell: |
|
||||||
ls /var/lib/ceph/osd/ | sed 's/.*-//'
|
ls /var/lib/ceph/osd/ | sed 's/.*-//'
|
||||||
|
changed_when: false
|
||||||
register: osd_ids_non_container
|
register: osd_ids_non_container
|
||||||
|
|
||||||
- name: set_fact docker_exec_start_osd
|
- name: set_fact docker_exec_start_osd
|
||||||
|
|
Loading…
Reference in New Issue