From fb13ee35bf2cf096db3f66b516eaa7ffa0d24770 Mon Sep 17 00:00:00 2001 From: Seena Fallah Date: Fri, 29 Mar 2024 22:05:42 +0100 Subject: [PATCH] ceph_volume: set changed to false to readonly actions Signed-off-by: Seena Fallah --- library/ceph_volume.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/ceph_volume.py b/library/ceph_volume.py index ffa89986b..ade0d55af 100644 --- a/library/ceph_volume.py +++ b/library/ceph_volume.py @@ -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))