-
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
stdout can not be retried for ansible v2.0 #13591
Comments
where is your playbook getting result from? |
From ansible's mysql_user module. It creates a new user in the database. Thanks. -Hui |
Could you give us more of your playbook? In what you pasted initially, I only see you registering haproxy_user, not results. |
@abadger Sorry about the confusion. The code is
The failure is caused by the above until statement. The code runs without any problem for ansible 1.9.4. But it fails using ansible 2.0.
|
@abadger just to check if you have found out anything. Thanks. |
* Saving of the registered variable was occuring after the tests for changed/failed_when. * Each of the above fields and until were being post_validated too early, so variables which were not defined at that time were causing task failures. Fixes #13591
Closing This TicketHi! We believe the above commit should resolve this problem for you. This will also be included in the next major release. If you continue seeing any problems related to this issue, or if you have any further questions, please let us know by stopping by one of the two mailing lists, as appropriate:
Because this project is very active, we're unlikely to see comments made on closed tickets, but the mailing list is a great way to ask questions, or post if you don't think this particular issue is resolved. Thank you! |
I have the following code working for ansible 1.9.4.
However, after I upgrading to v2.0. It returns the error as
Can anyone help? Thanks.
My system is
ansible 2.0.0
ubuntu 15.04
The text was updated successfully, but these errors were encountered: