]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
ceph_volume: set changed to false to readonly actions
authorSeena Fallah <seenafallah@gmail.com>
Fri, 29 Mar 2024 21:05:42 +0000 (22:05 +0100)
committerSeena Fallah <seenafallah@gmail.com>
Mon, 8 Apr 2024 19:27:20 +0000 (21:27 +0200)
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
(cherry picked from commit fb13ee35bf2cf096db3f66b516eaa7ffa0d24770)

library/ceph_volume.py

index ffa89986b7fcfb61cd48dbe8bec8d98ed8fb8e69..ade0d55af521c3f905493b4ac705f14e55ae5ee9 100644 (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))