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>pull/7542/head
parent
326e2e4d6b
commit
fb13ee35bf
|
@ -626,11 +626,13 @@ def run_module():
|
||||||
|
|
||||||
elif action == 'list':
|
elif action == 'list':
|
||||||
# List Ceph LVM Metadata on a device
|
# List Ceph LVM Metadata on a device
|
||||||
|
changed = False
|
||||||
rc, cmd, out, err = exec_command(
|
rc, cmd, out, err = exec_command(
|
||||||
module, list_osd(module, container_image))
|
module, list_osd(module, container_image))
|
||||||
|
|
||||||
elif action == 'inventory':
|
elif action == 'inventory':
|
||||||
# List storage device inventory.
|
# List storage device inventory.
|
||||||
|
changed = False
|
||||||
rc, cmd, out, err = exec_command(
|
rc, cmd, out, err = exec_command(
|
||||||
module, list_storage_inventory(module, container_image))
|
module, list_storage_inventory(module, container_image))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue