Closed henkworks closed 1 year ago
Files identified in the description: None
If these files are incorrect, please update the component name
section of the description or use the !component
bot command.
This is expected. If a play completely fails, then the playbook aborts. This follows the expected behavior of Ansible where a playbook will fail fast.
We should probably expand the documentation here to explain this in more depth.
Should the playbook fail and next plays don't run even if they are unrelated to the play that returned with errors?
For example, you run the 1st play that create prometheus, elasticsearch and wordpress nodes, then run some setup code in the prometheus nodes in the 2nd play, and in the 3rd and 4th you run the setup in the elasticsearch and wordpress nodes, respectively.
Should the code that run in the elasticsearch and wordpress nodes stop running even if only the prometheus hosts failed, and are unrelated to the other nodes (after the 1st play)?
Thank you very much for your submission to Ansible. It means a lot to us that you've taken time to contribute.
Unfortunately, this issue has been open for some time while waiting for a contributor to take it up but there does not seem to have been anyone that did so. So we are going to close this issue to clear up the queues and make it easier for contributors to browse possible implementation targets.
However, we're absolutely always up for discussion. Because this project is very active, we're unlikely to see comments made on closed tickets and we lock them after some time. If you or anyone else has any further questions, please let us know by using any of the communication methods listed in the page below:
In the future, sometimes starting a discussion on the development list prior to proposing or implementing a feature can make getting things included a little easier, but it's not always necessary.
Thank you once again for this and your interest in Ansible!
Did not find any already existing issue.
I did not test any other versions.
SUMMARY
ansible-playbook run stops unexpectedly and without notice when it should continue.
ISSUE TYPE
COMPONENT NAME
core?
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Debian stable (with backports for e.g. ansible) I don’t think much else is relevant to this issue but feel free to ask.
STEPS TO REPRODUCE
EXPECTED RESULTS
I would expect it to continue with "play 2" because it’s a different host that has not failed any play yet and I did not tell ansible to stop on any error.
ACTUAL RESULTS
ansible stops after "play 1" without saying why, does not even mention the second host in the stats.