diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9e68cbd7b..41f1a5dbd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,41 @@ community.vmware Release Notes .. contents:: Topics +v1.7.0 +====== + +Minor Changes +------------- + +- vmware_cluster_info - added a parent datacenter name of Cluster to the return value (https://github.com/ansible-collections/community.vmware/pull/591). +- vmware_content_deploy_ovf_template - consistent ``eagerZeroedThick`` value (https://github.com/ansible-collections/community.vmware/issues/618). +- vmware_content_deploy_template - add datastore cluster parameter (https://github.com/ansible-collections/community.vmware/issues/397). +- vmware_content_deploy_template - make resource pool, host, cluster, datastore optional parameter and add check (https://github.com/ansible-collections/community.vmware/issues/397). +- vmware_guest - Define sub-options of hardware and customization in argument_spec (https://github.com/ansible-collections/community.vmware/issues/555). +- vmware_guest_register_operation - supported the check_mode +- vmware_host_iscsi - added a name(iqn) changing option for iSCSI (https://github.com/ansible-collections/community.vmware/pull/617). +- vmware_host_lockdown - Support check mode (https://github.com/ansible-collections/community.vmware/pull/633). + +Deprecated Features +------------------- + +- vmware_host_firewall_manager - the creation of new rule with no ``allowed_ip`` entry in the ``allowed_hosts`` dictionary won't be allowed after 2.0.0 release. + +Bugfixes +-------- + +- vmware_content_library_manager - added support for subscribed library (https://github.com/ansible-collections/community.vmware/pull/569). +- vmware_datastore_cluster_manager - Fix idempotency in check mode (https://github.com/ansible-collections/community.vmware/issues/623). +- vmware_dvswitch - correctly add contact information (https://github.com/ansible-collections/community.vmware/issues/608). +- vmware_dvswitch_lacp - typecast uplink number in lag_options (https://github.com/ansible-collections/community.vmware/issues/111). +- vmware_guest - handle NoneType values before passing to ``len`` API (https://github.com/ansible-collections/community.vmware/issues/593). + +New Modules +----------- + +- vmware_drs_group_manager - Manage VMs and Hosts in DRS group. +- vmware_first_class_disk - Manage VMware vSphere First Class Disks + v1.6.0 ====== diff --git a/README.md b/README.md index c971b7568..e61951dde 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,11 @@ Name | Description --- | --- [community.vmware.vmware](https://github.com/ansible-collections/community.vmware/blob/main/docs/community.vmware.vmware_httpapi.rst)|HttpApi Plugin for VMware REST API +### Inventory plugins +Name | Description +--- | --- +[community.vmware.vmware_vm_inventory](https://github.com/ansible-collections/community.vmware/blob/main/docs/community.vmware.vmware_vm_inventory_inventory.rst)|VMware Guest inventory source + ### Modules Name | Description --- | --- @@ -240,11 +245,6 @@ Name | Description [community.vmware.vsphere_copy](https://github.com/ansible-collections/community.vmware/blob/main/docs/community.vmware.vsphere_copy_module.rst)|Copy a file to a VMware datastore [community.vmware.vsphere_file](https://github.com/ansible-collections/community.vmware/blob/main/docs/community.vmware.vsphere_file_module.rst)|Manage files on a vCenter datastore -### Inventory plugins -Name | Description ---- | --- -[community.vmware.vmware_vm_inventory](https://github.com/ansible-collections/community.vmware/blob/main/docs/community.vmware.vmware_vm_inventory_inventory.rst)|VMware Guest inventory source - ## Testing and Development diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 40c91591a..96a2f4742 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -520,3 +520,49 @@ releases: name: vcenter_domain_user_group_info namespace: '' release_date: '2021-01-04' + 1.7.0: + changes: + bugfixes: + - vmware_content_library_manager - added support for subscribed library (https://github.com/ansible-collections/community.vmware/pull/569). + - vmware_datastore_cluster_manager - Fix idempotency in check mode (https://github.com/ansible-collections/community.vmware/issues/623). + - vmware_dvswitch - correctly add contact information (https://github.com/ansible-collections/community.vmware/issues/608). + - vmware_dvswitch_lacp - typecast uplink number in lag_options (https://github.com/ansible-collections/community.vmware/issues/111). + - vmware_guest - handle NoneType values before passing to ``len`` API (https://github.com/ansible-collections/community.vmware/issues/593). + deprecated_features: + - vmware_host_firewall_manager - the creation of new rule with no ``allowed_ip`` + entry in the ``allowed_hosts`` dictionary won't be allowed after 2.0.0 release. + minor_changes: + - vmware_cluster_info - added a parent datacenter name of Cluster to the return + value (https://github.com/ansible-collections/community.vmware/pull/591). + - vmware_content_deploy_ovf_template - consistent ``eagerZeroedThick`` value + (https://github.com/ansible-collections/community.vmware/issues/618). + - vmware_content_deploy_template - add datastore cluster parameter (https://github.com/ansible-collections/community.vmware/issues/397). + - vmware_content_deploy_template - make resource pool, host, cluster, datastore + optional parameter and add check (https://github.com/ansible-collections/community.vmware/issues/397). + - vmware_guest - Define sub-options of hardware and customization in argument_spec + (https://github.com/ansible-collections/community.vmware/issues/555). + - vmware_guest_register_operation - supported the check_mode + - vmware_host_iscsi - added a name(iqn) changing option for iSCSI (https://github.com/ansible-collections/community.vmware/pull/617). + - vmware_host_lockdown - Support check mode (https://github.com/ansible-collections/community.vmware/pull/633). + fragments: + - 111-vmware_dvswitch_loop.yml + - 397_vmware_content.yml + - 555-vmware_guest.yml + - 569_content_library.yml + - 591-vmware_cluster_info.yml + - 593_vmware_guest.yml + - 608_vmware_dvswitch.yml + - 617-vmware_host_iscsi.yml + - 618_vmware_content_deploy_ovf_template.yml + - 623-vmware_datastore_cluster_manager.yml + - 626-vmware_guest_register_operation.yml + - 633-vmware_host_lockdown.yml + - vmware_host_firewall_manager-prepare-all_ip-transition.yaml + modules: + - description: Manage VMs and Hosts in DRS group. + name: vmware_drs_group_manager + namespace: '' + - description: Manage VMware vSphere First Class Disks + name: vmware_first_class_disk + namespace: '' + release_date: '2021-02-01' diff --git a/docs/community.vmware.vmware_content_deploy_ovf_template_module.rst b/docs/community.vmware.vmware_content_deploy_ovf_template_module.rst index da51ba2f2..9df0ebdd3 100644 --- a/docs/community.vmware.vmware_content_deploy_ovf_template_module.rst +++ b/docs/community.vmware.vmware_content_deploy_ovf_template_module.rst @@ -329,7 +329,7 @@ Notes Examples -------- -.. code-block:: yaml+jinja +.. code-block:: yaml - name: Deploy Virtual Machine from OVF template in content library community.vmware.vmware_content_deploy_ovf_template: diff --git a/docs/community.vmware.vmware_content_deploy_template_module.rst b/docs/community.vmware.vmware_content_deploy_template_module.rst index 19f3482cc..99504e3af 100644 --- a/docs/community.vmware.vmware_content_deploy_template_module.rst +++ b/docs/community.vmware.vmware_content_deploy_template_module.rst @@ -357,7 +357,7 @@ Notes Examples -------- -.. code-block:: yaml+jinja +.. code-block:: yaml - name: Deploy Virtual Machine from template in content library community.vmware.vmware_content_deploy_template: diff --git a/docs/community.vmware.vmware_content_library_manager_module.rst b/docs/community.vmware.vmware_content_library_manager_module.rst index 7b48e593b..d522e8da5 100644 --- a/docs/community.vmware.vmware_content_library_manager_module.rst +++ b/docs/community.vmware.vmware_content_library_manager_module.rst @@ -55,8 +55,8 @@ Parameters
Name of the datastore on which backing content library is created.
-
This is required only if state is set to present.
-
This parameter is ignored, when state is set to absent.
+
This is required only if state is set to present.
+
This parameter is ignored, when state is set to absent.
Currently only datastore backing creation is supported.

aliases: datastore
@@ -91,8 +91,8 @@ Parameters
The content library description.
-
This is required only if state is set to present.
-
This parameter is ignored, when state is set to absent.
+
This is required only if state is set to present.
+
This parameter is ignored, when state is set to absent.
Process of updating content library only allows description change.
@@ -129,8 +129,8 @@ Parameters
The content library type.
-
This is required only if state is set to present.
-
This parameter is ignored, when state is set to absent.
+
This is required only if state is set to present.
+
This parameter is ignored, when state is set to absent.
@@ -186,6 +186,25 @@ Parameters
The connection to protocol.
+ + +
+ ssl_thumbprint + +
+ string +
+
added in 1.7.0
+ + + + +
The SHA1 SSL thumbprint of the subscribed content library to subscribe to.
+
This is required only if library_type is set to subscribed and the library is https.
+
This parameter is ignored, when state is set to absent.
+
The information can be extracted using openssl using the following example: echo | openssl s_client -connect test-library.com:443 |& openssl x509 -fingerprint -noout
+ +
@@ -209,6 +228,48 @@ Parameters
If set to absent and library does not exists, no action is taken.
+ + +
+ subscription_url + +
+ string +
+
added in 1.7.0
+ + + + +
The url of the content library to subscribe to.
+
This is required only if library_type is set to subscribed.
+
This parameter is ignored, when state is set to absent.
+ + + + +
+ update_on_demand + +
+ boolean +
+
added in 1.7.0
+ + + + + +
Whether to download all content on demand.
+
If set to True, all content will be downloaded on demand.
+
If set to False content will be downloaded ahead of time.
+
This is required only if library_type is set to subscribed.
+
This parameter is ignored, when state is set to absent.
+ +
@@ -255,7 +316,7 @@ Notes ----- .. note:: - - Tested on vSphere 6.5, 6.7 + - Tested on vSphere 6.5, 6.7, and 7.0 @@ -264,7 +325,7 @@ Examples .. code-block:: yaml - - name: Create Content Library + - name: Create Local Content Library community.vmware.vmware_content_library_manager: hostname: '{{ vcenter_hostname }}' username: '{{ vcenter_username }}' @@ -276,6 +337,21 @@ Examples state: present delegate_to: localhost + - name: Create Subscribed Content Library + community.vmware.vmware_content_library_manager: + hostname: '{{ vcenter_hostname }}' + username: '{{ vcenter_username }}' + password: '{{ vcenter_password }}' + library_name: test-content-lib + library_description: 'Subscribed Library with Datastore Backing' + library_type: subscribed + datastore_name: datastore + subscription_url: 'https://library.url' + ssl_thumbprint: 'aa:bb:cc:dd:ee:ff:gg:hh:ii:jj:kk:ll:mm:nn:oo:pp:qq:rr:ss:tt' + update_on_demand: true + state: present + delegate_to: localhost + - name: Update Content Library community.vmware.vmware_content_library_manager: hostname: '{{ vcenter_hostname }}' diff --git a/docs/community.vmware.vmware_drs_group_manager_module.rst b/docs/community.vmware.vmware_drs_group_manager_module.rst index 8f03eed9a..b3f4a1632 100644 --- a/docs/community.vmware.vmware_drs_group_manager_module.rst +++ b/docs/community.vmware.vmware_drs_group_manager_module.rst @@ -285,7 +285,7 @@ Notes Examples -------- -.. code-block:: yaml+jinja +.. code-block:: yaml --- - name: Add VMs in an existing DRS VM group diff --git a/docs/community.vmware.vmware_first_class_disk_module.rst b/docs/community.vmware.vmware_first_class_disk_module.rst index 465d77c79..7b53aedde 100644 --- a/docs/community.vmware.vmware_first_class_disk_module.rst +++ b/docs/community.vmware.vmware_first_class_disk_module.rst @@ -8,6 +8,7 @@ community.vmware.vmware_first_class_disk **Manage VMware vSphere First Class Disks** +Version added: 1.7.0 .. contents:: :local: @@ -16,7 +17,7 @@ community.vmware.vmware_first_class_disk Synopsis -------- -- This module can be used to manage (create, delete) VMware vSphere First Class Disks. +- This module can be used to manage (create, delete, resize) VMware vSphere First Class Disks. diff --git a/docs/community.vmware.vmware_guest_module.rst b/docs/community.vmware.vmware_guest_module.rst index a5c6a1466..f127a1b7b 100644 --- a/docs/community.vmware.vmware_guest_module.rst +++ b/docs/community.vmware.vmware_guest_module.rst @@ -250,7 +250,7 @@ Parameters @@ -270,11 +270,12 @@ Parameters - Default:
1
Number of autologon after reboot.
Specific to Windows customization.
+
Ignored if autologon is unset or set to False.
+
If unset, 1 will be used.
@@ -399,11 +400,11 @@ Parameters - Default:
"Administrator"
Server owner name.
Specific to Windows customization.
+
If unset, "Administrator" will be used as a fall-back.
@@ -475,12 +476,12 @@ Parameters - Default:
"WORKGROUP"
Workgroup to join.
Not compatible with joindomain.
Specific to Windows customization.
+
If unset, "WORKGROUP" will be used as a fall-back.
@@ -494,11 +495,11 @@ Parameters - Default:
"ACME"
Organisation name.
Specific to Windows customization.
+
If unset, "ACME" will be used as a fall-back.
@@ -1033,6 +1034,10 @@ Parameters +
Choose which firmware should be used to boot the virtual machine.
@@ -1178,6 +1183,7 @@ Parameters
The amount of memory resource that is guaranteed available to the virtual machine.
+

aliases: memory_reservation
@@ -1216,6 +1222,26 @@ Parameters
If set true, memory resource reservation for the virtual machine.
+ + + +
+ nested_virt + +
+ boolean +
+ + + + + +
Enable nested virtualization.
+ + @@ -1261,6 +1287,12 @@ Parameters +
Valid values are buslogic, lsilogic, lsilogicsas and paravirtual.
@@ -1274,7 +1306,7 @@ Parameters version
- integer + string
diff --git a/docs/community.vmware.vmware_host_firewall_manager_module.rst b/docs/community.vmware.vmware_host_firewall_manager_module.rst index 6f3cbb4ac..f7057838a 100644 --- a/docs/community.vmware.vmware_host_firewall_manager_module.rst +++ b/docs/community.vmware.vmware_host_firewall_manager_module.rst @@ -247,6 +247,8 @@ Examples rules: - name: vvold enabled: True + allowed_hosts: + all_ip: True delegate_to: localhost - name: Enable vvold rule set for an ESXi Host @@ -258,6 +260,8 @@ Examples rules: - name: vvold enabled: True + allowed_hosts: + all_ip: True delegate_to: localhost - name: Manage multiple rule set for an ESXi Host @@ -269,6 +273,8 @@ Examples rules: - name: vvold enabled: True + allowed_hosts: + all_ip: True - name: CIMHttpServer enabled: False delegate_to: localhost diff --git a/tox.ini b/tox.ini index feeb8532b..3699d648a 100644 --- a/tox.ini +++ b/tox.ini @@ -25,6 +25,7 @@ commands = collection_prep_add_docs -p . [testenv:antsibull-changelog] deps = + ansible antsibull-changelog commands = antsibull-changelog {posargs}