fix(ansible): replace removed yaml callback and print onboard token - #82
priyams-netapp wants to merge 1 commit into
Conversation
Use ansible.builtin.default result_format=yaml so playbooks work after community.general 12 removed the yaml callback, and print the access token after login for reuse. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Test Report missing or unfilled. This PR touches This is a soft gate - your CI checks are unaffected - but reviewers will not approve until the report is filled in. |
|
Thanks for your first PR to Pace — welcome aboard. Quick orientation:
For background, see CONTRIBUTING.md. |
A CI check failed — here is how to fix itWorkflow: Validate Examples · Run #55 · Failed jobs: 2 Terraform — fmt, validate & lintTerraform format, validate, or tflint failed. Reproduce locally: make terraform-validateMost failures are formatting — fix all of them with: terraform fmt -recursive terraform/Ansible — syntax & lint
make ansible-lintSee docs/troubleshooting.md for common Ansible errors. Push a fix and CI re-runs automatically; this comment updates with the next failure (or stays put if the same check fails again). Stuck? Comment on the PR and a maintainer will help — typical response time is 1 business day. Auto-generated · explain-failure.yml |
Use ansible.builtin.default result_format=yaml so playbooks work after community.general 12 removed the yaml callback, and print the access token after login for reuse.
Summary
Changes
Checklist
General
<tool>/<product>/(e.g.python/ontap/), not at the tool rootcatalog.yaml— includingproduct— and the product README for new/changed examples (see CONTRIBUTING.md)If touching
python/python -m py_compile python/*/*.py)ruff check python/)If touching
ansible/ansible-playbook --syntax-check)ansible-lintpassesIf touching
terraform/terraform fmt -checkpassesterraform validatepassesIf touching
go/go vet ./...passes (fromgo/directory)go build -o /dev/null .passes for the changed programTest Report
Environment:
Platform version:
Style touched:
First run
Command + output
Idempotency / re-run
Second-run evidence
Cleanup / teardown
Teardown evidence (skip for read-only examples)
Cannot run on a cluster?
Related issues