setting vars: on a block:

Hi.

I tried out blocks in devel today, and found a small oddity.

    - block:
        - debug: var=x
        - debug: var=y
      vars:
        x: 23
        y: 42

The above works as expected, but:

    - block:
        - debug: var=x
        - debug: var=y
      vars:
        - x: 23
        - y: 42

…results in:

    [ERROR]: Unexpected Exception: dictionary update sequence element #0 has length 1; 2 is required

The latter is what I tried first, because that's how setting vars on a
play works, but it looks like vars are handled differently for a block.
This may be intended behaviour (it's not documented though), but at the
very least I think the error should be handled more gracefully.

-- Abhijit

While we're at it, is it intended that:

    - block:
        - a
        - bunch of
        - tasks
      when: some condition

Shows each of the block-ed tasks being skipped individually when the
condition evaluates to false? (That's what it does on devel now, and
somehow I had the impression that it was meant to be different.)

-- Abhijit