--- - hosts: all tasks: - name: test 401 action: git - name: test 402 action: hg - name: test 303 command: git log changed_when: False - name: test 302 command: creates=B chmod 644 A - name: test invalid action (skip) foo: bar tags: - skip_ansible_lint - name: test 401 (skip) action: git tags: - skip_ansible_lint - name: test 402 (skip) action: hg tags: - skip_ansible_lint - name: test 303 (skip) command: git log tags: - skip_ansible_lint - name: test 302 (skip) command: chmod 644 A tags: - skip_ansible_lint - name: test 401 (don't warn) command: git log args: warn: False changed_when: False - name: test 402 (don't warn) command: chmod 644 A args: warn: False creates: B - name: test 402 (warn) command: chmod 644 A args: warn: yes creates: B - name: test 401 (don't warn single line) command: warn=False chdir=/tmp/blah git log changed_when: False - name: test 402 (don't warn single line) command: warn=no creates=B chmod 644 A - name: test 402 (warn single line) command: warn=yes creates=B chmod 644 A