Skip to content

Commit 7f01257

Browse files
AAP-34017 Add Ansible-lint chapter to Devtools doc
1 parent 10741e3 commit 7f01257

File tree

3 files changed

+468
-1
lines changed

3 files changed

+468
-1
lines changed

downstream/assemblies/devtools/assembly-devtools-lint.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ endif::[]
1111

1212
= Working with ansible-lint
1313

14-
:context: devtools-lint
14+
:context: devtools-ansible-lint
1515

1616
// You must move roles into collections if you want to use them in {PlatformNameShort}.
1717

1818
Working with ansible-lint
1919

20+
include::devtools/ref-devtools-ansible-lint-about.adoc[leveloffset=+1]
21+
include::devtools/ref-devtools-ansible-lint-usage.adoc[leveloffset=+1]
2022
// include::devtools/proc-devtools-zzz.adoc[leveloffset=+1]
2123

2224
ifdef::parent-context-of-devtools-lint[:context: {parent-context-of-devtools-lint}]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[id="devtools-ansible-lint-about_{context}"]
2+
3+
= About ansible-lint
4+
5+
Ansible Lint is a linter specifically designed for Ansible Playbooks and Roles.
6+
You can view reports about an open file in the `Problems` tab of a terminal in {VSCode}, or you can run `ansible-lint` commands from the command line.
7+
8+
The goal of Ansible Lint is to flag programming errors, bugs, stylistic errors and suspicious constructs and also ensure that content created by different people has a similar look and feel.
9+
10+

0 commit comments

Comments
 (0)