mirror of https://github.com/ceph/ceph-ansible.git
ceph_volume: set changed to false to readonly actions
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit fb13ee35bf
)
pull/7543/head
parent
3ee8744b95
commit
70836dde00
|
@ -626,11 +626,13 @@ def run_module():
|
|||
|
||||
elif action == 'list':
|
||||
# List Ceph LVM Metadata on a device
|
||||
changed = False
|
||||
rc, cmd, out, err = exec_command(
|
||||
module, list_osd(module, container_image))
|
||||
|
||||
elif action == 'inventory':
|
||||
# List storage device inventory.
|
||||
changed = False
|
||||
rc, cmd, out, err = exec_command(
|
||||
module, list_storage_inventory(module, container_image))
|
||||
|
||||
|
|
Loading…
Reference in New Issue