Skip to content

Commit

Permalink
Merge pull request #98 from mikemorency/mm-feature/replace-community-…
Browse files Browse the repository at this point in the history
…cluster-module

replace cluster module with vmware.vmware module
  • Loading branch information
mikemorency authored Sep 10, 2024
2 parents 507f7a9 + bad8d1b commit d29ce0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelogs/fragments/98_swap_community_cluster_for_vmware.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
minor_changes:
- cluster_settings - Use the vmware.vmware.cluster module instead of the community.vmware.vmware_cluster module
- cluster_settings - Use the correct module to apply DRS recommendations instead of cluster module
2 changes: 1 addition & 1 deletion roles/cluster_settings/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
when: cluster_settings_drs_enable is defined

- name: Apply DRS Recommendations for Cluster
community.vmware.vmware_cluster:
community.vmware.vmware_cluster_drs_recommendations:
hostname: "{{ cluster_settings_hostname }}"
username: "{{ cluster_settings_username }}"
password: "{{ cluster_settings_password }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
file: ../group_vars.yml

- name: "Create New Cluster: {{ cluster_settings_cluster_name }}"
community.vmware.vmware_cluster:
vmware.vmware.cluster:
hostname: "{{ cluster_settings_hostname }}"
username: "{{ cluster_settings_username }}"
password: "{{ cluster_settings_password }}"
Expand Down Expand Up @@ -65,7 +65,7 @@

always:
- name: "Cleanup Cluster: {{ cluster_settings_cluster_name }}"
community.vmware.vmware_cluster:
vmware.vmware.cluster:
hostname: "{{ cluster_settings_hostname }}"
username: "{{ cluster_settings_username }}"
password: "{{ cluster_settings_password }}"
Expand Down

0 comments on commit d29ce0f

Please sign in to comment.