vmware.vmware_rest.content_locallibrary module – Creates a new local library.
Note
This module is part of the vmware.vmware_rest collection (version 2.2.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install vmware.vmware_rest
.
To use it in a playbook, specify: vmware.vmware_rest.content_locallibrary
.
New in version 2.0.0: of vmware.vmware_rest
Requirements
The below requirements are needed on the host that executes this module.
vSphere 7.0.2 or greater
python >= 3.6
aiohttp
Parameters
Parameter |
Comments |
---|---|
A unique token generated on the client for each creation request. The token should be a universally unique identifier (UUID), for example: |
|
The date and time when this library was created. |
|
A human-readable description for this library. |
|
An identifier which uniquely identifies this |
|
The date and time when this library was last updated. This field is updated automatically when the library properties are changed. This field is not affected by adding, removing, or modifying a library item or its content within the library. Tagging the library or syncing the subscribed library does not alter this field. |
|
The date and time when this library was last synchronized. This field applies only to subscribed libraries. It is updated every time a synchronization is triggered on the library. The value is not set for a local library. |
|
Identifier of the local library to delete. Required with state=[‘absent’, ‘present’, ‘publish’] |
|
The name of the library. A Library is identified by a human-readable name. Library names cannot be undefined or an empty string. Names do not have to be unique. |
|
Defines various optimizations and optimization parameters applied to this library. Valid attributes are:
|
|
Defines how this library is published so that it can be subscribed to by a remote subscribed library. The Valid attributes are:
|
|
The unique identifier of the vCenter server where the library exists. |
|
Timeout settings for client session. The maximal number of seconds for the whole operation including connection establishment, request sending and response. The default value is 300s. |
|
Choices:
|
|
The list of default storage backings which are available for this library. A storage backing defines a default storage location which can be used to store files for library items in this library. Some library items, for instance, virtual machine template items, support files that may be distributed across various storage backings. One or more item files may or may not be located on the default storage backing. Multiple default storage locations are not currently supported but may become supported in future releases. Valid attributes are:
|
|
Defines the subscription behavior for this Library. The Valid attributes are:
|
|
The list of subscriptions to publish this library to. Valid attributes are:
|
|
The Choices:
|
|
The hostname or IP address of the vSphere vCenter If the value is not specified in the task, the value of environment variable |
|
The vSphere vCenter password If the value is not specified in the task, the value of environment variable |
|
You can use this optional parameter to set the location of a log file. This file will be used to record the HTTP REST interaction. The file will be stored on the host that run the module. If the value is not specified in the task, the value of environment variable |
|
The vSphere vCenter username If the value is not specified in the task, the value of environment variable |
|
Allows connection when SSL certificates are not valid. Set to If the value is not specified in the task, the value of environment variable Choices:
|
|
A version number which is updated on metadata changes. This value allows clients to detect concurrent updates and prevent accidental clobbering of data. This value represents a number which is incremented every time library properties, such as name or description, are changed. It is not incremented by changes to a library item within the library, including adding or removing items. It is also not affected by tagging the library. |
Examples
- name: Build a list of local libraries
vmware.vmware_rest.content_locallibrary_info:
register: result
retries: 100
delay: 3
until: result is not failed
- name: Delete all the local libraries
vmware.vmware_rest.content_locallibrary:
library_id: '{{ item.id }}'
state: absent
with_items: '{{ result.value }}'
- name: Create a content library pointing on a NFS share
vmware.vmware_rest.content_locallibrary:
name: my_library_on_nfs
description: automated
publish_info:
published: true
authentication_method: NONE
storage_backings:
- storage_uri: nfs://datastore.test/srv/share/content-library
type: OTHER
state: present
register: nfs_lib
- name: Create some more content libraries
vmware.vmware_rest.content_locallibrary:
name: my_library_on_nfs_{{ item }}
description: automated
publish_info:
published: true
authentication_method: NONE
storage_backings:
- storage_uri: nfs://datastore.test/srv/share/content-library
type: OTHER
state: present
with_sequence: 0-10
- name: Create a new local content library
vmware.vmware_rest.content_locallibrary:
name: local_library_001
description: automated
publish_info:
published: true
authentication_method: NONE
storage_backings:
- datastore_id: "{{ lookup('vmware.vmware_rest.datastore_moid', '/my_dc/datastore/rw_datastore')\
\ }}"
type: DATASTORE
state: present
register: ds_lib
- name: Create a content library based on a DataStore
vmware.vmware_rest.content_locallibrary:
name: my_library_on_datastore
description: automated
publish_info:
published: true
authentication_method: NONE
storage_backings:
- datastore_id: "{{ lookup('vmware.vmware_rest.datastore_moid', '/my_dc/datastore/local')\
\ }}"
type: DATASTORE
state: present
register: ds_lib
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Create some more content libraries Returned: On success Sample: “All items completed” |
|
Create some more content libraries Returned: On success Sample: [{“_ansible_item_label”: “0”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “99517bfa-7f2c-4e01-83e5-ed1bbb13c3e6”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_0”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “0”, “value”: {“creation_time”: “2022-06-23T22:35:20.801Z”, “description”: “automated”, “id”: “99517bfa-7f2c-4e01-83e5-ed1bbb13c3e6”, “last_modified_time”: “2022-06-23T22:35:20.801Z”, “name”: “my_library_on_nfs_0”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/99517bfa-7f2c-4e01-83e5-ed1bbb13c3e6/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “1”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “0926be51-049a-476b-8537-e4b3d0a572a9”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_1”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “1”, “value”: {“creation_time”: “2022-06-23T22:35:21.697Z”, “description”: “automated”, “id”: “0926be51-049a-476b-8537-e4b3d0a572a9”, “last_modified_time”: “2022-06-23T22:35:21.697Z”, “name”: “my_library_on_nfs_1”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/0926be51-049a-476b-8537-e4b3d0a572a9/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “2”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “7c970cd1-1526-4903-8295-64e28ecc6bad”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_2”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “2”, “value”: {“creation_time”: “2022-06-23T22:35:22.620Z”, “description”: “automated”, “id”: “7c970cd1-1526-4903-8295-64e28ecc6bad”, “last_modified_time”: “2022-06-23T22:35:22.620Z”, “name”: “my_library_on_nfs_2”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/7c970cd1-1526-4903-8295-64e28ecc6bad/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “3”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “53a679e5-a7dc-4d50-ad6e-759f697b6143”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_3”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “3”, “value”: {“creation_time”: “2022-06-23T22:35:23.573Z”, “description”: “automated”, “id”: “53a679e5-a7dc-4d50-ad6e-759f697b6143”, “last_modified_time”: “2022-06-23T22:35:23.573Z”, “name”: “my_library_on_nfs_3”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/53a679e5-a7dc-4d50-ad6e-759f697b6143/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “4”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “b8380086-243a-400d-9a9f-8259f83d0148”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_4”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “4”, “value”: {“creation_time”: “2022-06-23T22:35:24.545Z”, “description”: “automated”, “id”: “b8380086-243a-400d-9a9f-8259f83d0148”, “last_modified_time”: “2022-06-23T22:35:24.545Z”, “name”: “my_library_on_nfs_4”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/b8380086-243a-400d-9a9f-8259f83d0148/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “5”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “1bad9ede-140b-4c62-bc6b-df506eb27292”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_5”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “5”, “value”: {“creation_time”: “2022-06-23T22:35:25.464Z”, “description”: “automated”, “id”: “1bad9ede-140b-4c62-bc6b-df506eb27292”, “last_modified_time”: “2022-06-23T22:35:25.464Z”, “name”: “my_library_on_nfs_5”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/1bad9ede-140b-4c62-bc6b-df506eb27292/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “6”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “a2d5c986-e376-4648-95f1-661efff3f851”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_6”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “6”, “value”: {“creation_time”: “2022-06-23T22:35:26.405Z”, “description”: “automated”, “id”: “a2d5c986-e376-4648-95f1-661efff3f851”, “last_modified_time”: “2022-06-23T22:35:26.405Z”, “name”: “my_library_on_nfs_6”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/a2d5c986-e376-4648-95f1-661efff3f851/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “7”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “45f33229-1232-4d7d-9cb3-69d7888bbb07”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_7”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “7”, “value”: {“creation_time”: “2022-06-23T22:35:27.357Z”, “description”: “automated”, “id”: “45f33229-1232-4d7d-9cb3-69d7888bbb07”, “last_modified_time”: “2022-06-23T22:35:27.357Z”, “name”: “my_library_on_nfs_7”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/45f33229-1232-4d7d-9cb3-69d7888bbb07/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “8”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “8723c432-c706-4dfb-9f56-dadd3b95f299”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_8”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “8”, “value”: {“creation_time”: “2022-06-23T22:35:28.377Z”, “description”: “automated”, “id”: “8723c432-c706-4dfb-9f56-dadd3b95f299”, “last_modified_time”: “2022-06-23T22:35:28.377Z”, “name”: “my_library_on_nfs_8”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/8723c432-c706-4dfb-9f56-dadd3b95f299/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “9”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “bae6e392-12e7-4868-b18f-f487307bf752”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_9”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “9”, “value”: {“creation_time”: “2022-06-23T22:35:29.397Z”, “description”: “automated”, “id”: “bae6e392-12e7-4868-b18f-f487307bf752”, “last_modified_time”: “2022-06-23T22:35:29.397Z”, “name”: “my_library_on_nfs_9”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/bae6e392-12e7-4868-b18f-f487307bf752/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}, {“_ansible_item_label”: “10”, “_ansible_no_log”: null, “ansible_loop_var”: “item”, “changed”: 1, “failed”: 0, “id”: “61ea41a8-9443-4a64-9181-f9a046012197”, “invocation”: {“module_args”: {“client_token”: null, “creation_time”: null, “description”: “automated”, “id”: null, “last_modified_time”: null, “last_sync_time”: null, “library_id”: null, “name”: “my_library_on_nfs_10”, “optimization_info”: null, “publish_info”: {“authentication_method”: “NONE”, “published”: 1}, “server_guid”: null, “session_timeout”: null, “state”: “present”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “subscription_info”: null, “subscriptions”: null, “type”: null, “vcenter_hostname”: “vcenter.test”, “vcenter_password”: “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”, “vcenter_rest_log_file”: null, “vcenter_username”: “administrator@vsphere.local”, “vcenter_validate_certs”: 0, “version”: null}}, “item”: “10”, “value”: {“creation_time”: “2022-06-23T22:35:30.412Z”, “description”: “automated”, “id”: “61ea41a8-9443-4a64-9181-f9a046012197”, “last_modified_time”: “2022-06-23T22:35:30.412Z”, “name”: “my_library_on_nfs_10”, “publish_info”: {“authentication_method”: “NONE”, “persist_json_enabled”: 0, “publish_url”: “https://vcenter.test:443/cls/vcsp/lib/61ea41a8-9443-4a64-9181-f9a046012197/lib.json”, “published”: 1, “user_name”: “vcsp”}, “server_guid”: “b138c531-cd80-43f5-842d-657d9ddc98f8”, “storage_backings”: [{“storage_uri”: “nfs://datastore.test/srv/share/content-library”, “type”: “OTHER”}], “type”: “LOCAL”, “version”: “2”}}] |
Authors
Ansible Cloud Team (@ansible-collections)