Skip to content

Conversation

@justinc1
Copy link
Collaborator

CI test in https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/4565210170/jobs/8056017663 failed. Problem was ansible.builtin.assert fail_msg vs. fail_message, in examples/version_update_single_node.yml.

ansible-lint is now run also on examples, in hope such mistakes will be catched. While ansible-list can complain namex is not valid param for ansible.builtin.include_role, it still didn't report fail_message as invalid param for assert. I still decided it is useful to lint examples, and fix linter errors.

Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
The only non-linter error is ansible.builtin.assert fail_msg vs.
fail_message, in examples/version_update_single_node.yml.

Signed-off-by: Justin Cinkelj <justin.cinkelj@xlab.si>
@justinc1 justinc1 requested a review from PolonaM March 30, 2023 15:43
@justinc1 justinc1 merged commit 81b840c into main Apr 3, 2023
@justinc1 justinc1 deleted the ansible-lint-for-examples branch April 3, 2023 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants