Skip to content
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

updating ansible-lint #155

Merged
merged 10 commits into from
Feb 12, 2024
Merged

updating ansible-lint #155

merged 10 commits into from
Feb 12, 2024

Conversation

djdanielsson
Copy link
Collaborator

This is to fix #154 while I found it actually is probably working, it was out of date and I removed the pre-commit in favor of the Ansible-lint GitHub action that now seems to work better.

ansible.builtin.shell: |
export PATH={{ os_path }}
set -o pipefail;
Copy link
Collaborator Author

@djdanielsson djdanielsson Jan 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change here (plus a bunch of other places this is just an example) would be the only concern that probably should be tested to ensure that the export path doesn't need to be first and we can set pipefail before it without issue. I do not think it should matter but in theory that is the main change that I could see breaking something unexpected

Copy link
Collaborator

@jeffmcutter jeffmcutter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM. I used gh pr checkout 155 to test from 6-7, 7-8, and 8-9. All successful.

@djdanielsson djdanielsson merged commit 99e6bcd into redhat-cop:main Feb 12, 2024
25 checks passed
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.

fix Ansible lint
3 participants