Dear Ansible experts and developers. 
Hello,
I've got one question regarding Ansible1.5 . 

I've been using [:<number>] in hosts section of playbook so that I can 
limit the number of server to run.
Below is an example.

"WEB" group consists from 3 servers ..
[WEB]
server01
server02
server03

and I want to run following playbook in ANY one of WEB group. So I used 
[:1] here.
- name: Playbook Temp
  hosts: WEB[:1]
  sudo: yes


These codes worked at Ansible 1.4 but not for 1.5. All I got was "skipping: 
no hosts matched".
Any advice?

-- 
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/22185be0-7eb3-4f7c-aebf-8de3406754fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to