Creates a new local library.
Version added: 2.0.0
- Creates a new local library.
The below requirements are needed on the host that executes this module.
- vSphere 7.0.3 or greater
- python >= 3.6
- aiohttp
Note
- Tested on vSphere 7.0.3
- 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: nfs_lib
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
msg
string
|
On success |
Delete all the local libraries
Sample:
All items completed
|
results
list
|
On success |
Delete all the local libraries
Sample:
[{'_ansible_item_label': {'creation_time': '2022-11-23T20:02:22.940Z', 'description': 'automated', 'id': 'a66d5c73-57f8-4a3a-9361-292a55f68516', 'last_modified_time': '2022-11-23T20:02:22.940Z', 'name': 'my_library_on_nfs', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/a66d5c73-57f8-4a3a-9361-292a55f68516/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': 'a66d5c73-57f8-4a3a-9361-292a55f68516', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:22.940Z', 'description': 'automated', 'id': 'a66d5c73-57f8-4a3a-9361-292a55f68516', 'last_modified_time': '2022-11-23T20:02:22.940Z', 'name': 'my_library_on_nfs', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/a66d5c73-57f8-4a3a-9361-292a55f68516/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:25.134Z', 'description': 'automated', 'id': '3393956a-43ed-4e7f-bd96-eb39bd604445', 'last_modified_time': '2022-11-23T20:02:25.134Z', 'name': 'my_library_on_nfs_0', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/3393956a-43ed-4e7f-bd96-eb39bd604445/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': '3393956a-43ed-4e7f-bd96-eb39bd604445', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:25.134Z', 'description': 'automated', 'id': '3393956a-43ed-4e7f-bd96-eb39bd604445', 'last_modified_time': '2022-11-23T20:02:25.134Z', 'name': 'my_library_on_nfs_0', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/3393956a-43ed-4e7f-bd96-eb39bd604445/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:26.342Z', 'description': 'automated', 'id': '87f66f86-c046-45a7-9563-d59ea220babf', 'last_modified_time': '2022-11-23T20:02:26.342Z', 'name': 'my_library_on_nfs_1', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/87f66f86-c046-45a7-9563-d59ea220babf/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': '87f66f86-c046-45a7-9563-d59ea220babf', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:26.342Z', 'description': 'automated', 'id': '87f66f86-c046-45a7-9563-d59ea220babf', 'last_modified_time': '2022-11-23T20:02:26.342Z', 'name': 'my_library_on_nfs_1', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/87f66f86-c046-45a7-9563-d59ea220babf/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:27.504Z', 'description': 'automated', 'id': 'f6c590c4-ae6d-4ad0-9362-378196e98a3c', 'last_modified_time': '2022-11-23T20:02:27.504Z', 'name': 'my_library_on_nfs_2', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/f6c590c4-ae6d-4ad0-9362-378196e98a3c/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': 'f6c590c4-ae6d-4ad0-9362-378196e98a3c', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:27.504Z', 'description': 'automated', 'id': 'f6c590c4-ae6d-4ad0-9362-378196e98a3c', 'last_modified_time': '2022-11-23T20:02:27.504Z', 'name': 'my_library_on_nfs_2', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/f6c590c4-ae6d-4ad0-9362-378196e98a3c/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:28.821Z', 'description': 'automated', 'id': 'e8917499-2a4c-4b70-b39b-ae0caaef89c3', 'last_modified_time': '2022-11-23T20:02:28.821Z', 'name': 'my_library_on_nfs_3', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/e8917499-2a4c-4b70-b39b-ae0caaef89c3/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': 'e8917499-2a4c-4b70-b39b-ae0caaef89c3', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:28.821Z', 'description': 'automated', 'id': 'e8917499-2a4c-4b70-b39b-ae0caaef89c3', 'last_modified_time': '2022-11-23T20:02:28.821Z', 'name': 'my_library_on_nfs_3', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/e8917499-2a4c-4b70-b39b-ae0caaef89c3/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:30.085Z', 'description': 'automated', 'id': '630ebdfe-8913-45d3-aaa8-9c2fdecbb76b', 'last_modified_time': '2022-11-23T20:02:30.085Z', 'name': 'my_library_on_nfs_4', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/630ebdfe-8913-45d3-aaa8-9c2fdecbb76b/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': '630ebdfe-8913-45d3-aaa8-9c2fdecbb76b', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:30.085Z', 'description': 'automated', 'id': '630ebdfe-8913-45d3-aaa8-9c2fdecbb76b', 'last_modified_time': '2022-11-23T20:02:30.085Z', 'name': 'my_library_on_nfs_4', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/630ebdfe-8913-45d3-aaa8-9c2fdecbb76b/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:31.482Z', 'description': 'automated', 'id': 'a046e2e5-bd55-4d04-9443-750a2ab35a6d', 'last_modified_time': '2022-11-23T20:02:31.482Z', 'name': 'my_library_on_nfs_5', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/a046e2e5-bd55-4d04-9443-750a2ab35a6d/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': 'a046e2e5-bd55-4d04-9443-750a2ab35a6d', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:31.482Z', 'description': 'automated', 'id': 'a046e2e5-bd55-4d04-9443-750a2ab35a6d', 'last_modified_time': '2022-11-23T20:02:31.482Z', 'name': 'my_library_on_nfs_5', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/a046e2e5-bd55-4d04-9443-750a2ab35a6d/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:32.846Z', 'description': 'automated', 'id': 'b94383b1-7877-4dbd-8c33-51abc39451ff', 'last_modified_time': '2022-11-23T20:02:32.846Z', 'name': 'my_library_on_nfs_6', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/b94383b1-7877-4dbd-8c33-51abc39451ff/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': 'b94383b1-7877-4dbd-8c33-51abc39451ff', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:32.846Z', 'description': 'automated', 'id': 'b94383b1-7877-4dbd-8c33-51abc39451ff', 'last_modified_time': '2022-11-23T20:02:32.846Z', 'name': 'my_library_on_nfs_6', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/b94383b1-7877-4dbd-8c33-51abc39451ff/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:34.218Z', 'description': 'automated', 'id': '8e3efb68-cb84-4ce0-a65a-6c94cc6e6e00', 'last_modified_time': '2022-11-23T20:02:34.218Z', 'name': 'my_library_on_nfs_7', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/8e3efb68-cb84-4ce0-a65a-6c94cc6e6e00/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': '8e3efb68-cb84-4ce0-a65a-6c94cc6e6e00', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:34.218Z', 'description': 'automated', 'id': '8e3efb68-cb84-4ce0-a65a-6c94cc6e6e00', 'last_modified_time': '2022-11-23T20:02:34.218Z', 'name': 'my_library_on_nfs_7', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/8e3efb68-cb84-4ce0-a65a-6c94cc6e6e00/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:35.922Z', 'description': 'automated', 'id': '0b12c0b3-6c6d-448d-9033-e054a70183e7', 'last_modified_time': '2022-11-23T20:02:35.922Z', 'name': 'my_library_on_nfs_8', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/0b12c0b3-6c6d-448d-9033-e054a70183e7/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': '0b12c0b3-6c6d-448d-9033-e054a70183e7', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:35.922Z', 'description': 'automated', 'id': '0b12c0b3-6c6d-448d-9033-e054a70183e7', 'last_modified_time': '2022-11-23T20:02:35.922Z', 'name': 'my_library_on_nfs_8', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/0b12c0b3-6c6d-448d-9033-e054a70183e7/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:37.796Z', 'description': 'automated', 'id': '46454797-bbe0-415a-9fe9-3cf2f74a14db', 'last_modified_time': '2022-11-23T20:02:37.796Z', 'name': 'my_library_on_nfs_9', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/46454797-bbe0-415a-9fe9-3cf2f74a14db/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': '46454797-bbe0-415a-9fe9-3cf2f74a14db', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:37.796Z', 'description': 'automated', 'id': '46454797-bbe0-415a-9fe9-3cf2f74a14db', 'last_modified_time': '2022-11-23T20:02:37.796Z', 'name': 'my_library_on_nfs_9', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/46454797-bbe0-415a-9fe9-3cf2f74a14db/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:02:38.976Z', 'description': 'automated', 'id': '209926aa-e3fe-46a5-95f2-501e82a5139b', 'last_modified_time': '2022-11-23T20:02:38.976Z', 'name': 'my_library_on_nfs_10', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/209926aa-e3fe-46a5-95f2-501e82a5139b/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': '209926aa-e3fe-46a5-95f2-501e82a5139b', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:02:38.976Z', 'description': 'automated', 'id': '209926aa-e3fe-46a5-95f2-501e82a5139b', 'last_modified_time': '2022-11-23T20:02:38.976Z', 'name': 'my_library_on_nfs_10', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/209926aa-e3fe-46a5-95f2-501e82a5139b/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'storage_uri': 'nfs://datastore.test/srv/share/content-library', 'type': 'OTHER'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}, {'_ansible_item_label': {'creation_time': '2022-11-23T20:06:02.958Z', 'description': 'automated', 'id': 'de0e9bff-3bae-45d0-a90c-6c2a01dfbe66', 'last_modified_time': '2022-11-23T20:06:02.958Z', 'name': 'local_library_001', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/de0e9bff-3bae-45d0-a90c-6c2a01dfbe66/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'datastore_id': 'datastore-1065', 'type': 'DATASTORE'}], 'type': 'LOCAL', 'version': '2'}, '_ansible_no_log': None, 'ansible_loop_var': 'item', 'changed': 1, 'failed': 0, 'invocation': {'module_args': {'client_token': None, 'creation_time': None, 'description': None, 'id': None, 'last_modified_time': None, 'last_sync_time': None, 'library_id': 'de0e9bff-3bae-45d0-a90c-6c2a01dfbe66', 'name': None, 'optimization_info': None, 'publish_info': None, 'server_guid': None, 'session_timeout': None, 'state': 'absent', 'storage_backings': None, 'subscription_info': None, 'subscriptions': None, 'type': None, 'vcenter_hostname': 'vcenter.test', 'vcenter_password': 'VALUE_SPECIFIED_IN_NO_LOG_PARAMETER', 'vcenter_rest_log_file': '/tmp/vmware_rest.log', 'vcenter_username': 'administrator@vsphere.local', 'vcenter_validate_certs': 0, 'version': None}}, 'item': {'creation_time': '2022-11-23T20:06:02.958Z', 'description': 'automated', 'id': 'de0e9bff-3bae-45d0-a90c-6c2a01dfbe66', 'last_modified_time': '2022-11-23T20:06:02.958Z', 'name': 'local_library_001', 'publish_info': {'authentication_method': 'NONE', 'persist_json_enabled': 0, 'publish_url': 'https://vcenter.test:443/cls/vcsp/lib/de0e9bff-3bae-45d0-a90c-6c2a01dfbe66/lib.json', 'published': 1, 'user_name': 'vcsp'}, 'server_guid': '52fb0b5e-ffc3-465b-bf4f-e4e6d5423cf5', 'storage_backings': [{'datastore_id': 'datastore-1065', 'type': 'DATASTORE'}], 'type': 'LOCAL', 'version': '2'}, 'value': {}}]
|
- Ansible Cloud Team (@ansible-collections)