blob: c6a130b0ca2c139544ae7c387aebd0507d1734e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
---
- hosts: all
tasks:
- name: test 401
action: git
- name: test 402
action: hg
- name: test 303
command: git log
changed_when: False
- name: test 302
command: creates=B chmod 644 A
- name: test invalid action (skip)
foo: bar
tags:
- skip_ansible_lint
- name: test 401 (skip)
action: git
tags:
- skip_ansible_lint
- name: test 402 (skip)
action: hg
tags:
- skip_ansible_lint
- name: test 303 (skip)
command: git log
tags:
- skip_ansible_lint
- name: test 302 (skip)
command: chmod 644 A
tags:
- skip_ansible_lint
- name: test 401 (don't warn)
command: git log
args:
warn: False
changed_when: False
- name: test 402 (don't warn)
command: chmod 644 A
args:
warn: False
creates: B
- name: test 402 (warn)
command: chmod 644 A
args:
warn: yes
creates: B
- name: test 401 (don't warn single line)
command: warn=False chdir=/tmp/blah git log
changed_when: False
- name: test 402 (don't warn single line)
command: warn=no creates=B chmod 644 A
- name: test 402 (warn single line)
command: warn=yes creates=B chmod 644 A
|