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 Do I Fail an Ansible Playbook Run or AWX Job when Hosts are Skipped? #2008

Open
3 tasks done
bskou opened this issue Jan 27, 2025 · 1 comment
Open
3 tasks done

Comments

@bskou
Copy link

bskou commented Jan 27, 2025

Please confirm the following

  • I agree to follow this project's code of conduct.
  • I have checked the current issues for duplicates.
  • I understand that AWX Operator is open source software provided for free and that I might not receive a timely response.

Feature Summary

Hi

How Do I Fail an Ansible Playbook Run or AWX Job when Hosts are Skipped?

I have my job "successful" but nothing was done

Thanks for your support

@dhivinp-maersk
Copy link

@bskou , you can fail it with adding "host_pattern_mismatch=error" on ansible.cfg overriding default config.

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

2 participants