From 5859c102ee430a5e90fa57391b769c360a90c464 Mon Sep 17 00:00:00 2001 From: maorlipchuk Date: Wed, 28 Feb 2018 15:05:48 +0200 Subject: [PATCH] Add documentation for import FCP storage domain (#36780) FCP storage domain task, does not need to contain port or address since the storage domain is already on the Host. Added an example for FCP import. --- .../modules/cloud/ovirt/ovirt_storage_domains.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domains.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domains.py index 96612ac45c..67df3a7aa3 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domains.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domains.py @@ -114,8 +114,6 @@ options: fcp: description: - "Dictionary with values for fibre channel storage type:" - - "C(address) - Address of the fibre channel storage server." - - "C(port) - Port of the fibre channel storage server." - "C(lun_id) - LUN id." - "C(override_luns) - If I(True) FCP storage domain luns will be overridden before adding." - "Note that these parameters are not idempotent." @@ -247,6 +245,14 @@ EXAMPLES = ''' address: 10.34.63.199 path: /path/export +# Import FCP storage domain: +- ovirt_storage_domains: + state: imported + name: data_fcp + host: myhost + data_center: mydatacenter + fcp: {} + # Update OVF_STORE: - ovirt_storage_domains: state: update_ovf_store