From 98343993eeed4995bb96da881c6f8c65a0fdb1b1 Mon Sep 17 00:00:00 2001 From: Chris Archibald Date: Tue, 5 Mar 2019 12:50:42 -0800 Subject: [PATCH] Fix Example for lun copy (#53281) * Revert "changes to clusteR" This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80. * Revert "changes to clusteR" This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80. * Revert "Revert "changes to clusteR"" This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a. * Revert "Revert "changes to clusteR"" This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a. * documentation changes * Revert "documentation changes" This reverts commit 02c369d0414fdff492d90865c903bdade3174261. * Fix example --- .../storage/netapp/na_ontap_lun_copy.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/lib/ansible/modules/storage/netapp/na_ontap_lun_copy.py b/lib/ansible/modules/storage/netapp/na_ontap_lun_copy.py index 3345079786d..9b8c34c49a3 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_lun_copy.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_lun_copy.py @@ -55,15 +55,14 @@ options: ''' EXAMPLES = """ - name: Copy LUN - na_ontap_lun: - na_ontap_lun_copy: - destination_vserver: ansible - destination_path: /vol/test/test_copy_dest_dest_new - source_path: /vol/test/test_copy_1 - source_vserver: ansible - hostname: "{{ netapp_hostname }}" - username: "{{ netapp_username }}" - password: "{{ netapp_password }}" + na_ontap_lun_copy: + destination_vserver: ansible + destination_path: /vol/test/test_copy_dest_dest_new + source_path: /vol/test/test_copy_1 + source_vserver: ansible + hostname: "{{ netapp_hostname }}" + username: "{{ netapp_username }}" + password: "{{ netapp_password }}" """ RETURN = """ @@ -108,7 +107,7 @@ class NetAppOntapLUNCopy(object): def get_lun(self): """ - Check if the LUN exis + Check if the LUN exists :return: true is it exists, false otherwise :rtype: bool