vmware / ansible-for-nsxt

Ansible delivers simple IT automation that ends repetitive tasks and frees up DevOps teams for more strategic work. This project is to enable this automation for NSX-T installation.
Other
171 stars 145 forks source link

Module nsxt_policy_tier1 is missing ha_mode parameter #485

Open frippe75 opened 9 months ago

frippe75 commented 9 months ago

Describe the bug

Passing ha_mode errors out with: Unsupported parameters for (nsxt_policy_tier1) module: ha_mode Supported parameters include .........

Reproduction steps

Run any play/task with ha_mode set to "ACTIVE_STANDBY"

Expected behavior

My Tier1 has the HA Mode set to "Not Set" instead of "Active Standby" in the UI

Additional context

No response

allertbig commented 9 months ago

found a hotfix. just find and copy this code from tier0 to tier1 module : ha_mode=dict( required=False, type='str', default="ACTIVE_ACTIVE", choices=['ACTIVE_STANDBY', 'ACTIVE_ACTIVE'] ),

not pretty clean as solution but works for me.