Re: [ansible-project] How to loop over result and retry in the same task?

2018-02-08 Thread Eric Chong
But I want to retry the first task until expected result. I don't see a way for Ansible to retry a bock of tasks. On Tuesday, February 6, 2018 at 12:31:16 PM UTC-5, Brian Coca wrote: > > you cannot loop over the results of your task that is generating those > results, you CAN loop over the

[ansible-project] How to loop over result and retry in the same task?

2018-01-21 Thread Eric Chong
For example, if I want a task to pull ec2_instance_facts until any instance is in running state, and retry if none is running. --- - hosts: localhost gather_facts: no connection: local tasks: - name: get ec2_instance_facts ec2_instance_facts: register: my_ec2 until:

[ansible-project] Run Ansible against a standalone Windows server

2017-01-11 Thread Eric Chong
Is there a way to run Ansible against a standalone Windows server that is not in a domain? The document shows how to setup kerberos with Windows domain. What if the Windows server is not in any domain? Thanks -- You received this message because you are subscribed to the Google Groups