From 576a9b03ded440ab26da54ad0ecb95d83bf39e43 Mon Sep 17 00:00:00 2001 From: Chris Archibald Date: Tue, 26 Feb 2019 10:53:25 -0800 Subject: [PATCH] Revert "documentation changes" This reverts commit 02c369d0414fdff492d90865c903bdade3174261. --- lib/ansible/modules/storage/netapp/na_ontap_cg_snapshot.py | 4 ++-- lib/ansible/modules/storage/netapp/na_ontap_cifs_acl.py | 7 ++----- lib/ansible/modules/storage/netapp/na_ontap_cifs_server.py | 4 ++-- .../modules/storage/netapp/na_ontap_igroup_initiator.py | 4 ++-- lib/ansible/modules/storage/netapp/na_ontap_ntp.py | 4 +--- 5 files changed, 9 insertions(+), 14 deletions(-) diff --git a/lib/ansible/modules/storage/netapp/na_ontap_cg_snapshot.py b/lib/ansible/modules/storage/netapp/na_ontap_cg_snapshot.py index 4ba320e2b69..4a4d5ff5e46 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_cg_snapshot.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_cg_snapshot.py @@ -1,6 +1,6 @@ #!/usr/bin/python -# (c) 2018-2019, NetApp, Inc +# (c) 2018, 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 @@ -53,7 +53,7 @@ EXAMPLES = """ state: present vserver: vserver_name snapshot: snapshot name - volumes: vol_name + volume: vol_name username: "{{ netapp username }}" password: "{{ netapp password }}" hostname: "{{ netapp hostname }}" diff --git a/lib/ansible/modules/storage/netapp/na_ontap_cifs_acl.py b/lib/ansible/modules/storage/netapp/na_ontap_cifs_acl.py index d959f9837fa..4cae456f726 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_cifs_acl.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_cifs_acl.py @@ -1,6 +1,6 @@ #!/usr/bin/python -# (c) 2018-2019, NetApp, Inc +# (c) 2018, 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 @@ -40,7 +40,7 @@ options: description: - "The user or group name for which the permissions are listed." required: true -short_description: NetApp ONTAP manage cifs-share-access-control +short_description: "NetApp ONTAP manage cifs-share-access-control" version_added: "2.6" ''' @@ -52,7 +52,6 @@ EXAMPLES = """ share_name: cifsShareName user_or_group: Everyone permission: read - vserver: "{{ netapp_vserver }}" hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" @@ -60,9 +59,7 @@ EXAMPLES = """ na_ontap_cifs_acl: state: present share_name: cifsShareName - user_or_group: Everyone permission: change - vserver: "{{ netapp_vserver }}" hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" diff --git a/lib/ansible/modules/storage/netapp/na_ontap_cifs_server.py b/lib/ansible/modules/storage/netapp/na_ontap_cifs_server.py index d031232a035..fc3f60cf3a8 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_cifs_server.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_cifs_server.py @@ -1,7 +1,7 @@ #!/usr/bin/python """ this is cifs_server module - (c) 2018-2019, NetApp, Inc + (c) 2018, NetApp, Inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) """ @@ -94,7 +94,7 @@ EXAMPLES = ''' - name: Delete cifs_server na_ontap_cifs_server: state: absent - name: data2 + cifs_server_name: data2 vserver: svm1 hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" diff --git a/lib/ansible/modules/storage/netapp/na_ontap_igroup_initiator.py b/lib/ansible/modules/storage/netapp/na_ontap_igroup_initiator.py index 510945924fe..f65a1eba5ed 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_igroup_initiator.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_igroup_initiator.py @@ -55,7 +55,7 @@ options: EXAMPLES = ''' - name: Add initiators to an igroup na_ontap_igroup_initiator: - names: abc.test:def.com,def.test:efg.com + names: abc.test:def.com, def.test:efg.com initiator_group: test_group vserver: ansibleVServer hostname: "{{ netapp_hostname }}" @@ -65,7 +65,7 @@ EXAMPLES = ''' - name: Remove an initiator from an igroup na_ontap_igroup_initiator: state: absent - names: abc.test:def.com + name: abc.test:def.com initiator_group: test_group vserver: ansibleVServer hostname: "{{ netapp_hostname }}" diff --git a/lib/ansible/modules/storage/netapp/na_ontap_ntp.py b/lib/ansible/modules/storage/netapp/na_ontap_ntp.py index 6c578805876..60fd1fa95b6 100644 --- a/lib/ansible/modules/storage/netapp/na_ontap_ntp.py +++ b/lib/ansible/modules/storage/netapp/na_ontap_ntp.py @@ -1,6 +1,6 @@ #!/usr/bin/python -# (c) 2018-2019, NetApp, Inc +# (c) 2018, 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 @@ -43,14 +43,12 @@ EXAMPLES = """ na_ontap_ntp: state: present version: auto - server_name: "{{ server_name }}" hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}" - name: Delete NTP server na_ontap_ntp: state: absent - server_name: "{{ server_name }}" hostname: "{{ netapp_hostname }}" username: "{{ netapp_username }}" password: "{{ netapp_password }}"