Skip to content

Commit

Permalink
ceph_volume: set changed to false to readonly actions
Browse files Browse the repository at this point in the history
Signed-off-by: Seena Fallah <[email protected]>
  • Loading branch information
clwluvw authored and guits committed Apr 8, 2024
1 parent 326e2e4 commit fb13ee3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/ceph_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit fb13ee3

Please sign in to comment.