-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
Handlers run on every host, even in ones without notified changes #7559
Comments
This is quite unacceptable to us, we're adding a test for this specific thing and will update the release ASAP when ready once confirmed. |
Thanks, I've reproduced this and will work on a fix today. |
Also adds an integration test to catch this bug in the future. Fixes ansible#7559
I've created the above patch to address this issue, if you'd like to test it yourself. I'm continuing testing on this, and will merge it in as soon as my testing is complete. |
Looks like patch works correctly. +1 |
patch tested, everything works fine with it! |
Great, just merged this in. Please let us know if you have any further problems related to this issue. Thanks! |
Also adds an integration test to catch this bug in the future. Fixes #7559
Issue Type:
Bug Report
Ansible Version:
ansible 1.6.2
Environment:
Running from OS X 10.9.3
Managing RHEL 6.5, Fedora 20
Summary:
When a change is detected in a specific host handlers run on every host, even in ones without changes
@drybjed confirmed this bug and told me it is not present in 1.6.0 and it is related to this issue and commit
Steps To Reproduce:
Run a playbook like this:
Expected Results:
handlers run only on notified hosts
Actual Results:
handlers run on every host in the playbook, even in ones without changes:
The text was updated successfully, but these errors were encountered: