]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
library: remove containerized parameter from cv
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 18 Dec 2020 15:25:54 +0000 (10:25 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 6 Jan 2021 09:12:15 +0000 (10:12 +0100)
The ceph-volume module relies on environment variables to determine if
the command should be executed within a container or not.
The containerized parameter isn't used anymore and we can remove it.

Fixes: #6153
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
library/ceph_volume.py

index 3bf0e2a8deeedb07e9634c0dd8f76b52447dba95..d323255237a863b0fd9c606ac395d145daf818bd 100644 (file)
@@ -145,12 +145,6 @@ options:
             - Results will be returned in json format.
             - Only applicable if action is 'batch'.
         required: false
-    containerized:
-        description:
-            - Wether or not this is a containerized cluster. The value is
-            assigned or not depending on how the playbook runs.
-        required: false
-        default: None
     list:
         description:
             - List potential Ceph LVM metadata on a device
@@ -543,7 +537,6 @@ def run_module():
         block_db_devices=dict(type='list', required=False, default=[]),
         wal_devices=dict(type='list', required=False, default=[]),
         report=dict(type='bool', required=False, default=False),
-        containerized=dict(type='str', required=False, default=False),
         osd_fsid=dict(type='str', required=False),
         destroy=dict(type='bool', required=False, default=True),
     )