summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-name-missing-fail.yml
blob: 4ea543e8834ce7ef79f7b4a6e95767eb91dd2db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
---
- hosts: all # <-- name[missing]
  tasks:
    - ansible.builtin.command: echo "no name" # <-- name[missing]
      changed_when: false
    - name: "" # <-- name[missing]
      ansible.builtin.command: echo "empty name"
      changed_when: false
    - ansible.builtin.debug: # <-- name[missing]
        msg: Debug without a name
    - ansible.builtin.meta: flush_handlers # <-- name[missing]