Debian Codegraph @

examples/playbooks/tasks/local_action.transformed.yml

raw
1 ---
2 - name: Sample 1
3 command: echo 123
4 delegate_to: localhost
5 - name: Sample 2
6 command:
7 cmd: echo 456
8 delegate_to: localhost
9 - name: Sample 3
10 ansible.builtin.debug:
11 delegate_to: localhost
12 - name: Sample 4 - Dict-form local_action
13 user:
14 name: alice
15 state: present
16 delegate_to: localhost
17 vars:
18 foo: bar
19 - name: Sample 5 - String-form local_action (all key=value)
20 file: path=/tmp/foo state=touch mode=0644
21 delegate_to: localhost
22 tags: always
23 - name: Sample 6 - String-form local_action (positional arguments)
24 shell: echo "hello world"
25 delegate_to: localhost
26 - name: Sample 7 - String-form local_action (single positional argument)
27 command: hostname
28 delegate_to: localhost
29 - name: Sample 8 - Dict-form local_action with no params (only module)
30 ping:
31 delegate_to: localhost
32 - name: Sample 9 - Args copied over
33 copy: src=/etc/hosts dest=/tmp/hosts
34 delegate_to: localhost
35 args:
36 remote_src: true