Skip to content

Commit

Permalink
Merge pull request #43 from mikemorency/mm-feature/ACA-1387-add-esxi-…
Browse files Browse the repository at this point in the history
…ha-playbook

add playbooks for managing HA mode on vcenter
  • Loading branch information
mikemorency authored May 29, 2024
2 parents 5d57664 + c97ee87 commit 8ea803d
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ profile: production
strict: true

skip_list:
- no-changed-when # Commands should not change things if nothing needs doing.
- no-changed-when # Commands should not change things if nothing needs doing.

exclude_paths:
- tests/integration
- changelogs/fragments
7 changes: 7 additions & 0 deletions changelogs/fragments/43-mm-feature__add-ha-playbooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
minor_changes:
- disable_high_availability - Added playbook to disable high availbility in a vcenter cluster
- enable_high_availability - Added playbook to enable and configure high availbility in a vcenter cluster
- >-
manage_all_settings - Renamed and moved ``cluster_settings.yml`` playbook to ``cluster_settings\manage_all_settings.yml``.
New location is with other cluster settings related plays
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
requires_ansible: '>=2.14.0'
requires_ansible: ">=2.15.0"
8 changes: 8 additions & 0 deletions playbooks/cluster_settings/disable_high_availability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
- name: Disable High Availability Mode On A Cluster
hosts: localhost
gather_facts: false

roles:
- role: cloud.vmware_ops.cluster_settings
cluster_settings_ha_enable: false
8 changes: 8 additions & 0 deletions playbooks/cluster_settings/enable_high_availability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
- name: Enable High Availability Mode On A Cluster
hosts: localhost
gather_facts: false

roles:
- role: cloud.vmware_ops.cluster_settings
cluster_settings_ha_enable: true
File renamed without changes.

0 comments on commit 8ea803d

Please sign in to comment.