From 3b29b502e78c930e61286fcb872fdd2812176121 Mon Sep 17 00:00:00 2001 From: Chris Archibald Date: Mon, 18 Feb 2019 12:11:45 -0800 Subject: [PATCH] Docs changes to na_ontap_nvme_subsystem (#52289) * Revert "changes to clusteR" This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80. * update docs * Revert "Revert "changes to clusteR"" This reverts commit 8e56b999e6cf6a65de339e516f7134a6b6b39cba. * fix some merge issues --- .../storage/netapp/na_ontap_nvme_subsystem.py | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/lib/ansible/modules/storage/netapp/na_ontap_nvme_subsystem.py b/lib/ansible/modules/storage/netapp/na_ontap_nvme_subsystem.py index 0c6316749a4..6de354dc094 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_nvme_subsystem.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_nvme_subsystem.py @@ -84,18 +84,7 @@ EXAMPLES = """ username: "{{ netapp_username }}" password: "{{ netapp_password }}" - - name: Associate hosts/paths with the subsystem - na_ontap_nvme_subsystem: - state: absent - subsystem: test_sub - vserver: test_dest - skip_host_check: True - skip_mapped_check: True - hostname: "{{ netapp_hostname }}" - username: "{{ netapp_username }}" - password: "{{ netapp_password }}" - - - name: Add NVME Subsystem host/map (Idempotency) + - name: Associate NVME Subsystem host/map na_ontap_nvme_subsystem: state: present subsystem: "{{ subsystem }}" @@ -106,6 +95,19 @@ EXAMPLES = """ hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" + + - name: Modify NVME subsystem map + na_ontap_nvme_subsystem: + state: present + subsystem: test_sub + vserver: test_dest + skip_host_check: True + skip_mapped_check: True + paths: /vol/ansible/test + hostname: "{{ netapp_hostname }}" + username: "{{ netapp_username }}" + password: "{{ netapp_password }}" + """ RETURN = """