From 84ebdb6ed5af08c5c29f0a05247ee5f8139043b2 Mon Sep 17 00:00:00 2001 From: Chris Archibald Date: Wed, 6 Mar 2019 10:38:36 -0800 Subject: [PATCH] Update example to be correct (#53337) * 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 rename example * Fix docs --- lib/ansible/modules/storage/netapp/na_ontap_qtree.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/storage/netapp/na_ontap_qtree.py b/lib/ansible/modules/storage/netapp/na_ontap_qtree.py index f36122e8821..8ab0c8b9e2f 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_qtree.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_qtree.py @@ -1,6 +1,6 @@ #!/usr/bin/python -# (c) 2018, NetApp, Inc +# (c) 2018-2019, NetApp, Inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function @@ -55,7 +55,7 @@ options: ''' EXAMPLES = """ -- name: Create QTree +- name: Create Qtrees na_ontap_qtree: state: present name: ansibleQTree @@ -65,9 +65,10 @@ EXAMPLES = """ username: "{{ netapp_username }}" password: "{{ netapp_password }}" -- name: Rename QTree +- name: Rename Qtrees na_ontap_qtree: state: present + from_name: ansibleQTree_rename name: ansibleQTree flexvol_name: ansibleVolume vserver: ansibleVServer