modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -50,7 +50,7 @@ options:
EXAMPLES = """
- name: Manage Aggregates
na_cdot_aggregate:
community.general.na_cdot_aggregate:
state: present
name: ansibleAggr
disk_count: 1
@ -59,7 +59,7 @@ EXAMPLES = """
password: "{{ netapp_password }}"
- name: Manage Aggregates
na_cdot_aggregate:
community.general.na_cdot_aggregate:
state: present
name: ansibleAggr
hostname: "{{ netapp_hostname }}"

View file

@ -96,7 +96,7 @@ options:
EXAMPLES = """
- name: Add licenses
na_cdot_license:
community.general.na_cdot_license:
hostname: "{{ netapp_hostname }}"
username: "{{ netapp_username }}"
password: "{{ netapp_password }}"
@ -110,7 +110,7 @@ EXAMPLES = """
flexclone: #################
- name: Remove licenses
na_cdot_license:
community.general.na_cdot_license:
hostname: "{{ netapp_hostname }}"
username: "{{ netapp_username }}"
password: "{{ netapp_password }}"

View file

@ -81,7 +81,7 @@ options:
EXAMPLES = """
- name: Create LUN
na_cdot_lun:
community.general.na_cdot_lun:
state: present
name: ansibleLUN
flexvol_name: ansibleVolume
@ -93,7 +93,7 @@ EXAMPLES = """
password: "{{ netapp_password }}"
- name: Resize Lun
na_cdot_lun:
community.general.na_cdot_lun:
state: present
name: ansibleLUN
force_resize: True

View file

@ -51,7 +51,7 @@ options:
EXAMPLES = """
- name: Create QTree
na_cdot_qtree:
community.general.na_cdot_qtree:
state: present
name: ansibleQTree
flexvol_name: ansibleVolume
@ -61,7 +61,7 @@ EXAMPLES = """
password: "{{ netapp_password }}"
- name: Rename QTree
na_cdot_qtree:
community.general.na_cdot_qtree:
state: present
name: ansibleQTree
flexvol_name: ansibleVolume

View file

@ -63,7 +63,7 @@ options:
EXAMPLES = """
- name: Create SVM
na_cdot_svm:
community.general.na_cdot_svm:
state: present
name: ansibleVServer
root_volume: vol1

View file

@ -82,7 +82,7 @@ options:
EXAMPLES = """
- name: Create User
na_cdot_user:
community.general.na_cdot_user:
state: present
name: SampleUser
application: ssh

View file

@ -59,7 +59,7 @@ options:
EXAMPLES = """
- name: Create User Role
na_cdot_user_role:
community.general.na_cdot_user_role:
state: present
name: ansibleRole
command_directory_name: DEFAULT

View file

@ -91,7 +91,7 @@ options:
EXAMPLES = """
- name: Create FlexVol
na_cdot_volume:
community.general.na_cdot_volume:
state: present
name: ansibleVolume
infinite: False
@ -107,7 +107,7 @@ EXAMPLES = """
snapshot_policy: daily
- name: Make FlexVol offline
na_cdot_volume:
community.general.na_cdot_volume:
state: present
name: ansibleVolume
infinite: False

View file

@ -49,7 +49,7 @@ options:
EXAMPLES = '''
- name: Get NetApp info (Password Authentication)
na_ontap_gather_facts:
community.general.na_ontap_gather_facts:
state: info
hostname: "na-vsim"
username: "admin"
@ -57,14 +57,14 @@ EXAMPLES = '''
- debug:
var: ontap_facts
- name: Limit Fact Gathering to Aggregate Information
na_ontap_gather_facts:
community.general.na_ontap_gather_facts:
state: info
hostname: "na-vsim"
username: "admin"
password: "admins_password"
gather_subset: "aggregate_info"
- name: Limit Fact Gathering to Volume and Lun Information
na_ontap_gather_facts:
community.general.na_ontap_gather_facts:
state: info
hostname: "na-vsim"
username: "admin"
@ -73,7 +73,7 @@ EXAMPLES = '''
- volume_info
- lun_info
- name: Gather all facts except for volume and lun information
na_ontap_gather_facts:
community.general.na_ontap_gather_facts:
state: info
hostname: "na-vsim"
username: "admin"

View file

@ -67,7 +67,7 @@ options:
EXAMPLES = """
- name: Create Account
sf_account_manager:
community.general.sf_account_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"
@ -75,7 +75,7 @@ EXAMPLES = """
name: TenantA
- name: Modify Account
sf_account_manager:
community.general.sf_account_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"
@ -84,7 +84,7 @@ EXAMPLES = """
new_name: TenantA-Renamed
- name: Delete Account
sf_account_manager:
community.general.sf_account_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"

View file

@ -45,7 +45,7 @@ options:
EXAMPLES = """
- name: Check connections to MVIP and SVIP
sf_check_connections:
community.general.sf_check_connections:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"

View file

@ -93,7 +93,7 @@ options:
EXAMPLES = """
- name: Create Snapshot schedule
sf_snapshot_schedule_manager:
community.general.sf_snapshot_schedule_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"
@ -104,7 +104,7 @@ EXAMPLES = """
volumes: 7
- name: Update Snapshot schedule
sf_snapshot_schedule_manager:
community.general.sf_snapshot_schedule_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"
@ -114,7 +114,7 @@ EXAMPLES = """
snapshot_name: AnsibleSnapshots
- name: Delete Snapshot schedule
sf_snapshot_schedule_manager:
community.general.sf_snapshot_schedule_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"

View file

@ -62,7 +62,7 @@ options:
EXAMPLES = """
- name: Create Volume Access Group
sf_volume_access_group_manager:
community.general.sf_volume_access_group_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"
@ -71,7 +71,7 @@ EXAMPLES = """
volumes: [7,8]
- name: Modify Volume Access Group
sf_volume_access_group_manager:
community.general.sf_volume_access_group_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"
@ -81,7 +81,7 @@ EXAMPLES = """
attributes: {"volumes": [1,2,3], "virtual_network_id": 12345}
- name: Delete Volume Access Group
sf_volume_access_group_manager:
community.general.sf_volume_access_group_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"

View file

@ -83,7 +83,7 @@ options:
EXAMPLES = """
- name: Create Volume
sf_volume_manager:
community.general.sf_volume_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"
@ -96,7 +96,7 @@ EXAMPLES = """
size_unit: gb
- name: Update Volume
sf_volume_manager:
community.general.sf_volume_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"
@ -106,7 +106,7 @@ EXAMPLES = """
access: readWrite
- name: Delete Volume
sf_volume_manager:
community.general.sf_volume_manager:
hostname: "{{ solidfire_hostname }}"
username: "{{ solidfire_username }}"
password: "{{ solidfire_password }}"