summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/command-check-failure.yml
blob: f249ddde955c090608b219f7704be84a18d1b054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- hosts: localhost
  tasks:
    - name: Command without checks
      ansible.builtin.command: echo blah
      args:
        chdir: X

    - name: Shell without checks
      ansible.builtin.shell: echo blah
      args:
        chdir: X
      become_method: xx