summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/conflicting_action.yml
blob: 535532304742c52e0e5aff4d20e0cdb900f9786a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- hosts: localhost
  tasks:
    - name: Foo
      ansible.builtin.debug:
        msg: bar
      ansible.builtin.command: echo
# On this file ansible-playbook --syntax-check reports:
# ERROR! conflicting action statements: debug, command
#
# The error appears to be in 'test/conflicting_action.yml': line 3, column 7, but may
# be elsewhere in the file depending on the exact syntax problem.