[ansible-project] Skip the hosts when one host is exectued task successfully

2016-03-02 Thread Balaji Sunku
My Playbook: --- - hosts: web vars: increaseCount: 0 remote_user: root tasks: - name: Verifying HTTP endpoint uri: url: "http://{{inventory_hostname}}:{{httpd_port}}/Test"; method: PUT body: "{{ lookup('file',test.json') }}" status_cod

[ansible-project] Skip the other hosts when one host is exectued task successfully

2016-03-01 Thread Balaji Sunku
Hi , I am new to Ansible. Please find query details below: I need to invoke REST API(I am Using uri module). I need to skip the hosts when one host is executed the task successfully. Is there any existing solution for this?. If yes, Please post me. Thanks in advance :) -- You received this

[ansible-project] Skip other hosts once one host is executed successfully

2016-03-01 Thread Balaji Sunku
Hi , I am new to Ansible. I have query regarding Skipping the execution of task. May be it is simple or stupid question :). Scenario : Task is invoking REST API(using URI Module). Is it possible to Skip other hosts once one host this Task is executed successfully. -- You received this messa