summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/rule-fqcn-pass.yml
blob: eafd65331c8b0ce16f88d483e89b38ed1af229d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- name: Fixture
  hosts: localhost
  tasks:
    - name: Shell (fqcn) # noqa: command-instead-of-shell
      changed_when: false
      ansible.builtin.shell: echo This rule should not get matched by the fqcn rule
    - name: Use FQCN with more than 3 parts
      community.general.system.sudoers:
        name: should-not-be-here
        state: absent
    - name: Command with legacy FQCN
      ansible.legacy.command: echo This rule should not get matched by the fqcn rule