Skip to content

Commit 10741e3

Browse files
AAP-33897 Devtools Add scaffolding collections chapter (#2404)
1 parent 341fa33 commit 10741e3

13 files changed

+308
-1
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ifdef::context[:parent-context-of-devtools-ansible-sign: {context}]
2+
3+
:_mod-docs-content-type: ASSEMBLY
4+
5+
ifndef::context[]
6+
[id="devtools-ansible-sign"]
7+
endif::[]
8+
ifdef::context[]
9+
[id="devtools-ansible-sign_{context}"]
10+
endif::[]
11+
12+
= Working with ansible-sign
13+
14+
:context: devtools-ansible-sign
15+
16+
// You must move roles into collections if you want to use them in {PlatformNameShort}.
17+
18+
Working with ansible-sign
19+
20+
// include::devtools/proc-devtools-zzz.adoc[leveloffset=+1]
21+
22+
ifdef::parent-context-of-devtools-ansible-sign[:context: {parent-context-of-devtools-ansible-sign}]
23+
ifndef::parent-context-of-devtools-ansible-sign[:!context:]
24+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ifdef::context[:parent-context-of-devtools-builder: {context}]
2+
3+
:_mod-docs-content-type: ASSEMBLY
4+
5+
ifndef::context[]
6+
[id="devtools-builder"]
7+
endif::[]
8+
ifdef::context[]
9+
[id="devtools-builder_{context}"]
10+
endif::[]
11+
12+
= Working with {Builder}
13+
14+
:context: devtools-builder
15+
16+
// You must move roles into collections if you want to use them in {PlatformNameShort}.
17+
18+
Working with {Builder}
19+
20+
// include::devtools/proc-devtools-zzz.adoc[leveloffset=+1]
21+
22+
ifdef::parent-context-of-devtools-builder[:context: {parent-context-of-devtools-builder}]
23+
ifndef::parent-context-of-devtools-builder[:!context:]
24+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
ifdef::context[:parent-context-of-devtools-create-plugins-collection: {context}]
2+
3+
:_mod-docs-content-type: ASSEMBLY
4+
5+
ifndef::context[]
6+
[id="devtools-create-plugins-collection"]
7+
endif::[]
8+
ifdef::context[]
9+
[id="devtools-create-plugins-collection_{context}"]
10+
endif::[]
11+
12+
= Creating a collection for distributing plug-ins and modules
13+
14+
:context: devtools-create-plugins-collection
15+
16+
// You must move roles into collections if you want to use them in {PlatformNameShort}.
17+
18+
include::devtools/con-devtools-plan-plugins-collection.adoc[leveloffset=+1]
19+
include::devtools/con-devtools-plugins-collection-prerequisites.adoc[leveloffset=+1]
20+
21+
include::devtools/proc-devtools-scaffold-roles-collection.adoc[leveloffset=+1]
22+
23+
ifdef::parent-context-of-devtools-create-plugins-collection[:context: {parent-context-of-devtools-create-plugins-collection}]
24+
ifndef::parent-context-of-devtools-create-plugins-collection[:!context:]
25+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ifdef::context[:parent-context-of-devtools-lint: {context}]
2+
3+
:_mod-docs-content-type: ASSEMBLY
4+
5+
ifndef::context[]
6+
[id="devtools-lint"]
7+
endif::[]
8+
ifdef::context[]
9+
[id="devtools-lint_{context}"]
10+
endif::[]
11+
12+
= Working with ansible-lint
13+
14+
:context: devtools-lint
15+
16+
// You must move roles into collections if you want to use them in {PlatformNameShort}.
17+
18+
Working with ansible-lint
19+
20+
// include::devtools/proc-devtools-zzz.adoc[leveloffset=+1]
21+
22+
ifdef::parent-context-of-devtools-lint[:context: {parent-context-of-devtools-lint}]
23+
ifndef::parent-context-of-devtools-lint[:!context:]
24+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ifdef::context[:parent-context-of-devtools-molecule: {context}]
2+
3+
:_mod-docs-content-type: ASSEMBLY
4+
5+
ifndef::context[]
6+
[id="devtools-molecule"]
7+
endif::[]
8+
ifdef::context[]
9+
[id="devtools-molecule_{context}"]
10+
endif::[]
11+
12+
= Working with Molecule
13+
14+
:context: devtools-molecule
15+
16+
// You must move roles into collections if you want to use them in {PlatformNameShort}.
17+
18+
Working with Molecule
19+
20+
// include::devtools/proc-devtools-zzz.adoc[leveloffset=+1]
21+
22+
ifdef::parent-context-of-devtools-molecule[:context: {parent-context-of-devtools-molecule}]
23+
ifndef::parent-context-of-devtools-molecule[:!context:]
24+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ifdef::context[:parent-context-of-devtools-navigator: {context}]
2+
3+
:_mod-docs-content-type: ASSEMBLY
4+
5+
ifndef::context[]
6+
[id="devtools-navigator"]
7+
endif::[]
8+
ifdef::context[]
9+
[id="devtools-navigator_{context}"]
10+
endif::[]
11+
12+
= Working with {Navigator}
13+
14+
:context: devtools-navigator
15+
16+
// You must move roles into collections if you want to use them in {PlatformNameShort}.
17+
18+
Working with {Navigator}
19+
20+
// include::devtools/proc-devtools-zzz.adoc[leveloffset=+1]
21+
22+
ifdef::parent-context-of-devtools-navigator[:context: {parent-context-of-devtools-navigator}]
23+
ifndef::parent-context-of-devtools-navigator[:!context:]
24+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ifdef::context[:parent-context-of-devtools-pytest-ansible: {context}]
2+
3+
:_mod-docs-content-type: ASSEMBLY
4+
5+
ifndef::context[]
6+
[id="devtools-pytest-ansible"]
7+
endif::[]
8+
ifdef::context[]
9+
[id="devtools-pytest-ansible_{context}"]
10+
endif::[]
11+
12+
= Working with pytest-ansible
13+
14+
:context: devtools-pytest-ansible
15+
16+
// You must move roles into collections if you want to use them in {PlatformNameShort}.
17+
18+
Working with pytest-ansible
19+
20+
// include::devtools/proc-devtools-zzz.adoc[leveloffset=+1]
21+
22+
ifdef::parent-context-of-devtools-pytest-ansible[:context: {parent-context-of-devtools-pytest-ansible}]
23+
ifndef::parent-context-of-devtools-pytest-ansible[:!context:]
24+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ifdef::context[:parent-context-of-devtools-tox-ansible: {context}]
2+
3+
:_mod-docs-content-type: ASSEMBLY
4+
5+
ifndef::context[]
6+
[id="devtools-tox-ansible"]
7+
endif::[]
8+
ifdef::context[]
9+
[id="devtools-tox-ansible_{context}"]
10+
endif::[]
11+
12+
= Working with tox-ansible
13+
14+
:context: devtools-tox-ansible
15+
16+
// You must move roles into collections if you want to use them in {PlatformNameShort}.
17+
18+
Working with tox-ansible
19+
20+
// include::devtools/proc-devtools-zzz.adoc[leveloffset=+1]
21+
22+
ifdef::parent-context-of-devtools-tox-ansible[:context: {parent-context-of-devtools-tox-ansible}]
23+
ifndef::parent-context-of-devtools-tox-ansible[:!context:]
24+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
:_mod-docs-content-type: CONCEPT
2+
3+
[id="plan-plugins-collection_{context}"]
4+
= Planning your collection of plugins and modules
5+
6+
// Organize smaller bundles of curated automation into separate collections for specific functions, rather than creating one big general collection for all of your roles.
7+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
:_mod-docs-content-type: CONCEPT
2+
3+
[id="devtools-plugins-collection-prerequisites_{context}"]
4+
= Prerequisites
5+
6+
* You have installed {VSCode} and the Ansible extension.
7+
* You have installed the Microsoft Dev Containers extension in {VSCode}.
8+
* You have installed {ToolsName}.
9+
* You have installed a containerization platform, for example Podman, Podman Desktop, Docker, or Docker Desktop.
10+
* You have a Red Hat account and you can log in to the Red Hat container registry at `registry.redhat.io`.
11+
For information about logging in to `registry.redhat.io`, see
12+
xref:devtools-setup-registry-redhat-io_installing-devtools[Authenticating with the Red Hat container registry].
13+
// * Considerations about environments / isolation (ADE / devcontainer files)
14+
15+

0 commit comments

Comments
 (0)