mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
Fix Examples with bad options (#53279)
* 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. * Doc updates * fix doc
This commit is contained in:
parent
bf28b5ceca
commit
106c7885b8
5 changed files with 15 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/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)
|
# 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
|
from __future__ import absolute_import, division, print_function
|
||||||
|
@ -53,7 +53,7 @@ EXAMPLES = """
|
||||||
state: present
|
state: present
|
||||||
vserver: vserver_name
|
vserver: vserver_name
|
||||||
snapshot: snapshot name
|
snapshot: snapshot name
|
||||||
volume: vol_name
|
volumes: vol_name
|
||||||
username: "{{ netapp username }}"
|
username: "{{ netapp username }}"
|
||||||
password: "{{ netapp password }}"
|
password: "{{ netapp password }}"
|
||||||
hostname: "{{ netapp hostname }}"
|
hostname: "{{ netapp hostname }}"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/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)
|
# 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
|
from __future__ import absolute_import, division, print_function
|
||||||
|
@ -40,7 +40,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- "The user or group name for which the permissions are listed."
|
- "The user or group name for which the permissions are listed."
|
||||||
required: true
|
required: true
|
||||||
short_description: "NetApp ONTAP manage cifs-share-access-control"
|
short_description: NetApp ONTAP manage cifs-share-access-control
|
||||||
version_added: "2.6"
|
version_added: "2.6"
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
@ -52,6 +52,7 @@ EXAMPLES = """
|
||||||
share_name: cifsShareName
|
share_name: cifsShareName
|
||||||
user_or_group: Everyone
|
user_or_group: Everyone
|
||||||
permission: read
|
permission: read
|
||||||
|
vserver: "{{ netapp_vserver }}"
|
||||||
hostname: "{{ netapp_hostname }}"
|
hostname: "{{ netapp_hostname }}"
|
||||||
username: "{{ netapp_username }}"
|
username: "{{ netapp_username }}"
|
||||||
password: "{{ netapp_password }}"
|
password: "{{ netapp_password }}"
|
||||||
|
@ -59,7 +60,9 @@ EXAMPLES = """
|
||||||
na_ontap_cifs_acl:
|
na_ontap_cifs_acl:
|
||||||
state: present
|
state: present
|
||||||
share_name: cifsShareName
|
share_name: cifsShareName
|
||||||
|
user_or_group: Everyone
|
||||||
permission: change
|
permission: change
|
||||||
|
vserver: "{{ netapp_vserver }}"
|
||||||
hostname: "{{ netapp_hostname }}"
|
hostname: "{{ netapp_hostname }}"
|
||||||
username: "{{ netapp_username }}"
|
username: "{{ netapp_username }}"
|
||||||
password: "{{ netapp_password }}"
|
password: "{{ netapp_password }}"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
""" this is cifs_server module
|
""" this is cifs_server module
|
||||||
|
|
||||||
(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)
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ options:
|
||||||
type: bool
|
type: bool
|
||||||
description:
|
description:
|
||||||
- If this is set and a machine account with the same name as
|
- If this is set and a machine account with the same name as
|
||||||
specified in 'cifs_server_name' exists in the Active Directory, it
|
specified in 'name' exists in the Active Directory, it
|
||||||
will be overwritten and reused.
|
will be overwritten and reused.
|
||||||
version_added: '2.7'
|
version_added: '2.7'
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ EXAMPLES = '''
|
||||||
- name: Delete cifs_server
|
- name: Delete cifs_server
|
||||||
na_ontap_cifs_server:
|
na_ontap_cifs_server:
|
||||||
state: absent
|
state: absent
|
||||||
cifs_server_name: data2
|
name: data2
|
||||||
vserver: svm1
|
vserver: svm1
|
||||||
hostname: "{{ netapp_hostname }}"
|
hostname: "{{ netapp_hostname }}"
|
||||||
username: "{{ netapp_username }}"
|
username: "{{ netapp_username }}"
|
||||||
|
|
|
@ -55,7 +55,7 @@ options:
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- name: Add initiators to an igroup
|
- name: Add initiators to an igroup
|
||||||
na_ontap_igroup_initiator:
|
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
|
initiator_group: test_group
|
||||||
vserver: ansibleVServer
|
vserver: ansibleVServer
|
||||||
hostname: "{{ netapp_hostname }}"
|
hostname: "{{ netapp_hostname }}"
|
||||||
|
@ -65,7 +65,7 @@ EXAMPLES = '''
|
||||||
- name: Remove an initiator from an igroup
|
- name: Remove an initiator from an igroup
|
||||||
na_ontap_igroup_initiator:
|
na_ontap_igroup_initiator:
|
||||||
state: absent
|
state: absent
|
||||||
name: abc.test:def.com
|
names: abc.test:def.com
|
||||||
initiator_group: test_group
|
initiator_group: test_group
|
||||||
vserver: ansibleVServer
|
vserver: ansibleVServer
|
||||||
hostname: "{{ netapp_hostname }}"
|
hostname: "{{ netapp_hostname }}"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/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)
|
# 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
|
from __future__ import absolute_import, division, print_function
|
||||||
|
@ -43,12 +43,14 @@ EXAMPLES = """
|
||||||
na_ontap_ntp:
|
na_ontap_ntp:
|
||||||
state: present
|
state: present
|
||||||
version: auto
|
version: auto
|
||||||
|
server_name: "{{ server_name }}"
|
||||||
hostname: "{{ netapp_hostname }}"
|
hostname: "{{ netapp_hostname }}"
|
||||||
username: "{{ netapp_username }}"
|
username: "{{ netapp_username }}"
|
||||||
password: "{{ netapp_password }}"
|
password: "{{ netapp_password }}"
|
||||||
- name: Delete NTP server
|
- name: Delete NTP server
|
||||||
na_ontap_ntp:
|
na_ontap_ntp:
|
||||||
state: absent
|
state: absent
|
||||||
|
server_name: "{{ server_name }}"
|
||||||
hostname: "{{ netapp_hostname }}"
|
hostname: "{{ netapp_hostname }}"
|
||||||
username: "{{ netapp_username }}"
|
username: "{{ netapp_username }}"
|
||||||
password: "{{ netapp_password }}"
|
password: "{{ netapp_password }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue