vmware-samples / validated-solutions-for-cloud-foundation

A companion repository for the VMware Validated Solutions for VMware Cloud Foundation.
https://vmware.com/go/vvs
BSD 2-Clause "Simplified" License
23 stars 5 forks source link

Missing values in variables.yml in ALB ansible remote authentication playbook #71

Closed am3rig0 closed 1 year ago

am3rig0 commented 1 year ago

Code of Conduct

VMware Cloud Foundation

5.0.0

Environment Details

ALB 22.1.4

Description

ALB ansible remote authentication playbook's variables.yaml is missing AUTH_MAPPING_PROF_NAME & AUTH_MAPPING_PROF_TYPE definitions which causes the playbook to fail.

Happy to contribute a fix back, along with some typo corrections and YAML validation fixes.

Expected Behavior

Playbook execution completes successfully

Actual Behavior

Playbook execution fails with: fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'AUTH_MAPPING_PROF_NAME' is undefined. 'AUTH_MAPPING_PROF_NAME' is undefined\n\nThe error appears to be in '/home/user/vvs/validated-solutions-for-cloud-foundation/alb/ansible-examples/remote-authentication-playbook/remote_auth.yaml': line 96, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Create Group Mapping for 22.x+\n ^ here\n"}

Steps to Reproduce

Use ALB ansible remote authentication playbook against ALB 22.1.4

Screenshots

No response

References

No response