Skip to content

fix(formatters/ansible-lint): add missing exit code#883

Open
lkhn wants to merge 1 commit into
stevearc:masterfrom
lkhn:formatters_ansible-lint_fix_8
Open

fix(formatters/ansible-lint): add missing exit code#883
lkhn wants to merge 1 commit into
stevearc:masterfrom
lkhn:formatters_ansible-lint_fix_8

Conversation

@lkhn

@lkhn lkhn commented Jun 12, 2026

Copy link
Copy Markdown

When the --fix option is used, ansible-lint returns 8 as a exit code after performing auto-fixes 1.

Include 8 into the expected exit codes that indicate success.

When the --fix option is used, ansible-lint returns 8 as a exit code
after performing auto-fixes [1].

Include 8 into the expected exit codes that indicate success.

[1]: https://github.com/ansible/ansible-lint/blob/4b79c996172bb941953e5c4287535378e232c16f/src/ansiblelint/constants.py#L30-L41

Signed-off-by: Elkhan Mammadli <elkhan.mammadli@protonmail.com>
@github-actions github-actions Bot requested a review from stevearc June 12, 2026 23: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.

1 participant