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
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
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