[X] I have read and agree to the project's Code of Conduct.
[X] Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
[X] Do not leave "+1" or other comments that do not add relevant information or questions.
[X] If you are interested in working on this issue or have submitted a pull request, please leave a comment.
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
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