ceph_volume: set changed to false to readonly actions

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
pull/7542/head
Seena Fallah 2024-03-29 22:05:42 +01:00 committed by Guillaume Abrioux
parent 326e2e4d6b
commit fb13ee35bf
1 changed files with 2 additions and 0 deletions

View File

@ -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))