-
Notifications
You must be signed in to change notification settings - Fork 38
/
ansible_lint_v5.4.0_FQCN.check.shot
139 lines (138 loc) · 4.65 KB
/
ansible_lint_v5.4.0_FQCN.check.shot
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Testing linter ansible-lint test FQCN 1`] = `
{
"issues": [
{
"code": "role-name",
"column": "1",
"file": "jboss-standalone/roles/java-app",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://ansible-lint.readthedocs.io/en/latest/default_rules.html#role-name",
"level": "LEVEL_HIGH",
"line": "1",
"linter": "ansible-lint",
"message": "Role name java-app does not match \`\`^[a-z][a-z0-9_]+$\`\` pattern",
"targetType": "ansible",
},
{
"code": "risky-file-permissions",
"column": "1",
"file": "jboss-standalone/roles/java-app/tasks/main.yml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://ansible-lint.readthedocs.io/en/latest/default_rules.html#risky-file-permissions",
"level": "LEVEL_HIGH",
"line": "14",
"linter": "ansible-lint",
"message": "File permissions unset or incorrect",
"targetType": "ansible",
},
{
"code": "risky-file-permissions",
"column": "1",
"file": "jboss-standalone/roles/java-app/tasks/main.yml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://ansible-lint.readthedocs.io/en/latest/default_rules.html#risky-file-permissions",
"level": "LEVEL_HIGH",
"line": "2",
"linter": "ansible-lint",
"message": "File permissions unset or incorrect",
"targetType": "ansible",
},
{
"code": "role-name",
"column": "1",
"file": "jboss-standalone/roles/jboss-standalone",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://ansible-lint.readthedocs.io/en/latest/default_rules.html#role-name",
"level": "LEVEL_HIGH",
"line": "1",
"linter": "ansible-lint",
"message": "Role name jboss-standalone does not match \`\`^[a-z][a-z0-9_]+$\`\` pattern",
"targetType": "ansible",
},
{
"code": "risky-file-permissions",
"column": "1",
"file": "jboss-standalone/roles/jboss-standalone/tasks/main.yml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://ansible-lint.readthedocs.io/en/latest/default_rules.html#risky-file-permissions",
"level": "LEVEL_HIGH",
"line": "31",
"linter": "ansible-lint",
"message": "File permissions unset or incorrect",
"targetType": "ansible",
},
{
"code": "command-instead-of-module",
"column": "1",
"file": "jboss-standalone/roles/jboss-standalone/tasks/main.yml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://ansible-lint.readthedocs.io/en/latest/default_rules.html#command-instead-of-module",
"level": "LEVEL_HIGH",
"line": "61",
"linter": "ansible-lint",
"message": "service used in place of service module",
"targetType": "ansible",
},
{
"code": "ignore-errors",
"column": "1",
"file": "jboss-standalone/roles/jboss-standalone/tasks/main.yml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://ansible-lint.readthedocs.io/en/latest/default_rules.html#ignore-errors",
"level": "LEVEL_LOW",
"line": "61",
"linter": "ansible-lint",
"message": "Use failed_when and specify error conditions instead of using ignore_errors",
"targetType": "ansible",
},
{
"code": "no-changed-when",
"column": "1",
"file": "jboss-standalone/roles/jboss-standalone/tasks/main.yml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://ansible-lint.readthedocs.io/en/latest/default_rules.html#no-changed-when",
"level": "LEVEL_HIGH",
"line": "61",
"linter": "ansible-lint",
"message": "Commands should not change things if nothing needs doing",
"targetType": "ansible",
},
{
"code": "risky-file-permissions",
"column": "1",
"file": "jboss-standalone/roles/jboss-standalone/tasks/main.yml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://ansible-lint.readthedocs.io/en/latest/default_rules.html#risky-file-permissions",
"level": "LEVEL_HIGH",
"line": "71",
"linter": "ansible-lint",
"message": "File permissions unset or incorrect",
"targetType": "ansible",
},
],
"lintActions": [
{
"command": "lint",
"fileGroupName": "custom",
"linter": "ansible-lint",
"paths": [
"jboss-standalone",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "custom",
"linter": "ansible-lint",
"paths": [
"jboss-standalone",
],
"upstream": true,
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [],
}
`;