Looks like it a bug with count=1
- name: count=2
debug: var=item
with_sequence: count=2
- name: count=1
debug: var=item
with_sequence: count=1
TASK: [count=2]
***************************************************************
ok: [localhost] => (item=1) => {
"item": "1",
"var": {
"item": "1"
}
}
ok: [localhost] => (item=2) => {
"item": "2",
"var": {
"item": "2"
}
}
TASK: [count=1]
***************************************************************
skipping: [localhost]
(I tried other numbers > 1 and they all seem to work)
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/30071c08-de88-467a-a72f-74eed1de94fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.