Can you give me a suggestion about one more requirement?
I need to limit the playbook execution for particular hosts.
Eg., From host1 to the host mentioned in site.retry file

My inventory file:

192.168.11.1
192.168.11.2
192.168.11.3

Playbook name: site.yml
Command: ansible-playbook site.yml  --limit @~/site.retry)

The above command executes the playbook only for the host present in 
site.retry file.
But I need to execute the playbook from host1 until the host present in 
site.retry file.

For eg., if site.retry file contains - 192.168.11.2
I need the playbook to run for 192.168.11.1 and 192.168.11.2  (ie., from 
the host1 till the one mentioned in site.retry file)

Is there any way to achieve this?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2af2ad3a-6e7c-4c7a-a652-11ca93452b35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to