-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ansible-lint CI #1368
base: stackhpc/2024.1
Are you sure you want to change the base?
Add ansible-lint CI #1368
Conversation
This allows us to install the role anywhere.
6679b59
to
05ff525
Compare
This commit includes a properly configured ansible-lint CI job and a large amount of changes to the existing playbooks so that the new CI passes. Some fixes were applied automatically with the --fix argument, many were made manually. There is some risk that the changes have altered the behaviour of the playbooks.
05ff525
to
0be7a56
Compare
61edbbc
to
321acad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Got a bunch of nitpicks, but linting is nitpicky anyway ;)
ff3fd29
to
c81275f
Compare
Co-authored-by: Matt Crees <mattc@stackhpc.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're choosing not to worry about ansible-lint warnings, all looks good to me.
213d3c1
to
8c0039d
Compare
Adds an ansible-lint CI job.
The job itself is quite simple, however there are a lot of changes to get to pass. Many were fixed automatically by the linter (e.g. formatting). Others were fixed by hand (e.g. Task names). Some rules are skipped because they are not relevant