Re: [ansible-project] Block & rescue misconception

2019-01-29 Thread Sergio Fernandez
*exoinvesting.com <http://www.exoinvesting.com/>* Email: *sergio.fernan...@exoinvesting.com * Phone: *+34 679 51 25 22* Follow me on *LinkedIn <https://www.linkedin.com/in/sergio-fernandez-cordero/>* Exo Investing Limited, trading under the name Exo Investing, is authorised & regulated

Re: [ansible-project] Block & rescue misconception

2019-01-29 Thread Sergio Fernandez
gio.fernan...@exoinvesting.com * Phone: *+34 679 51 25 22* Follow me on *LinkedIn <https://www.linkedin.com/in/sergio-fernandez-cordero/>* Exo Investing Limited, trading under the name Exo Investing, is authorised & regulated by the Financial Conduct Authority (FRN: 748161). Exo Investing Limited (formerly

[ansible-project] Block & rescue misconception

2019-01-28 Thread sergio . fernandez
Hi all, I'm using Ansible 2.5.11, using the EC2 dynamic inventory script. I'm trying to do some tasks over an instance with a role using block and rescue, so if one of the tasks fails, the rescue task runs (removing the instance). But I don't know why the rescue tasks never runs. I'm running