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
Seena Fallah 2024-03-29 22:05:42 +01:00
parent 3ee8744b95
commit 70836dde00
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))