Dear Ansible experts and developers.
Hello,
I’ve got one question regarding Ansible1.5 .
I’ve been using [:] 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?