Debian Codegraph @

test/integration/targets/run_modules/run_raw_args.yml

raw
1 - hosts: localhost
2 gather_facts: false
3 vars:
4 output_dir: '{{ lookup("env", "OUTPUT_DIR") }}'
5 tasks:
6 - name: set tempfile
7 tempfile:
8 path: '{{output_dir}}'
9 prefix: 'ansible-test'
10 state: file
11 register: mktemp
12
13 - name: ensure 'command' can use raw args
14 command: dd if=/dev/zero of="{{mktemp.path}}" bs=1K count=1
15
16 - name: ensure fqcn 'command' can use raw args
17 ansible.legacy.command: dd if=/dev/zero of="{{mktemp.path}}" bs=1K count=1