summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-key-order-pass.yml
blob: eb141e541b92df0d48e4253e109f912f1bf0a440 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: Fixture for key-order rule
  hosts: localhost
  tasks:
    - name: Test
      ansible.builtin.command: echo "test"
      changed_when: false
    - name: Test2
      ansible.builtin.debug:
        msg: "Debug without a name"
    - name: Flush handlers
      ansible.builtin.meta: flush_handlers
    - no_log: true # noqa: key-order[task] command-instead-of-shell
      ansible.builtin.shell: echo hello
      name: Task with no_log on top
      changed_when: false