You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linting ansible roles using the ansible-lint package directly from pypi.
5
5
6
-
Work in Progress...
6
+
Optionally it is possible to install some requirements like ansible collections, roles or pip packages. For more details about it, have a look at the Variables
7
7
8
-
```yml
9
-
inputs:
10
-
target:
11
-
description: |
12
-
Target for ansible linter
13
-
For example './', 'roles/my_role/' or 'site.yml'
14
-
required: true
15
-
required_collections:
16
-
description: |
17
-
You can define a required ansible collection here.
18
-
They will be installed using ansible-galaxy collection install <YourInput>.
19
-
required: false
20
-
required_roles:
21
-
description: |
22
-
You can define a required ansible role here.
23
-
They will be installed using ansible-galaxy role install <YourInput>.
24
-
required: false
25
-
python_dependency:
26
-
description: |
27
-
Install a Python Package using pip
28
-
They will be installed using pip install <YourInput>.
29
-
required: false
30
-
```
8
+
## Usage
31
9
32
-
## Example Setup
10
+
Example of ``.github/workflows/ansible-linting-check.yml``
0 commit comments