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

How to change current build status if changes in play recap #224

Open
marcocaberletti opened this issue Jun 11, 2024 · 0 comments
Open

How to change current build status if changes in play recap #224

marcocaberletti opened this issue Jun 11, 2024 · 0 comments

Comments

@marcocaberletti
Copy link

marcocaberletti commented Jun 11, 2024

Describe your use-case which is not covered by existing documentation.

I'd like to change the current build status if the playbook execution reports some changes applied.

For example, consider the following execution:

PLAY RECAP *********************************************************************
my-host : ok=44   changed=2    unreachable=0    failed=0    skipped=6    rescued=0    ignored=0   

[...]

Finished: SUCCESS

In this case, there are 2 changes applied. Or to apply if the check mode is enabled.
The build is marked with SUCCESS.

There is any way to mark the build as UNSTABLE where there are changes, or FAILED if there are failures?

Thanks.

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

No response

Are you interested in contributing to the documentation?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant