- name: test boolean
  hosts: all
  vars:
    SPIN_IN_VPC: false
  connection: local
  tasks:
    - shell: xcowsay 'spinnning in vpc'
      when: SPIN_IN_VPC|bool
    - shell: xcowsay 'spinnning in classic world :('
      when: not SPIN_IN_VPC|bool