diff options
Diffstat (limited to 'ansible_collections/dellemc/unity/plugins/modules/info.py')
-rw-r--r-- | ansible_collections/dellemc/unity/plugins/modules/info.py | 428 |
1 files changed, 214 insertions, 214 deletions
diff --git a/ansible_collections/dellemc/unity/plugins/modules/info.py b/ansible_collections/dellemc/unity/plugins/modules/info.py index 641074286..b924d674a 100644 --- a/ansible_collections/dellemc/unity/plugins/modules/info.py +++ b/ansible_collections/dellemc/unity/plugins/modules/info.py @@ -64,220 +64,220 @@ notes: ''' EXAMPLES = r''' - - name: Get detailed list of Unity entities - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - host - - fc_initiator - - iscsi_initiator - - cg - - storage_pool - - vol - - snapshot_schedule - - nas_server - - file_system - - snapshot - - nfs_export - - smb_share - - user_quota - - tree_quota - - disk_group - - nfs_server - - cifs_server - - ethernet_port - - file_interface - - replication_session - - - name: Get information of Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - - - name: Get list of hosts on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - host - - - name: Get list of FC initiators on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - fc_initiator - - - name: Get list of ISCSI initiators on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - iscsi_initiator - - - name: Get list of consistency groups on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - cg - - - name: Get list of storage pools on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - storage_pool - - - name: Get list of volumes on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - vol - - - name: Get list of snapshot schedules on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - snapshot_schedule - - - name: Get list of NAS Servers on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - nas_server - - - name: Get list of File Systems on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - file_system - - - name: Get list of Snapshots on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - snapshot - - - name: Get list of NFS exports on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - nfs_export - - - name: Get list of SMB shares on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - smb_share - - - name: Get list of user quotas on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - user_quota - - - name: Get list of quota trees on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - tree_quota - - - name: Get list of disk groups on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - disk_group - - - name: Get list of NFS Servers on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - nfs_server - - - name: Get list of CIFS Servers on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - cifs_server - - - name: Get list of ethernet ports on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - ethernet_port - - - name: Get list of file interfaces on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - file_interface - - - name: Get list of replication sessions on Unity array - dellemc.unity.info: - unispherehost: "{{unispherehost}}" - username: "{{username}}" - password: "{{password}}" - validate_certs: "{{validate_certs}}" - gather_subset: - - replication_session +- name: Get detailed list of Unity entities + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - host + - fc_initiator + - iscsi_initiator + - cg + - storage_pool + - vol + - snapshot_schedule + - nas_server + - file_system + - snapshot + - nfs_export + - smb_share + - user_quota + - tree_quota + - disk_group + - nfs_server + - cifs_server + - ethernet_port + - file_interface + - replication_session + +- name: Get information of Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + +- name: Get list of hosts on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - host + +- name: Get list of FC initiators on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - fc_initiator + +- name: Get list of ISCSI initiators on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - iscsi_initiator + +- name: Get list of consistency groups on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - cg + +- name: Get list of storage pools on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - storage_pool + +- name: Get list of volumes on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - vol + +- name: Get list of snapshot schedules on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - snapshot_schedule + +- name: Get list of NAS Servers on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - nas_server + +- name: Get list of File Systems on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - file_system + +- name: Get list of Snapshots on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - snapshot + +- name: Get list of NFS exports on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - nfs_export + +- name: Get list of SMB shares on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - smb_share + +- name: Get list of user quotas on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - user_quota + +- name: Get list of quota trees on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - tree_quota + +- name: Get list of disk groups on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - disk_group + +- name: Get list of NFS Servers on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - nfs_server + +- name: Get list of CIFS Servers on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - cifs_server + +- name: Get list of ethernet ports on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - ethernet_port + +- name: Get list of file interfaces on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - file_interface + +- name: Get list of replication sessions on Unity array + dellemc.unity.info: + unispherehost: "{{unispherehost}}" + username: "{{username}}" + password: "{{password}}" + validate_certs: "{{validate_certs}}" + gather_subset: + - replication_session ''' RETURN = r''' |