|
15 | 15 | # replace "master" with any valid ref |
16 | 16 | uses: ansible/ansible-lint-action@main |
17 | 17 | with: |
18 | | - # [required] |
19 | | - # Paths to ansible files (i.e., playbooks, tasks, handlers etc..) |
20 | | - # or valid Ansible directories according to the Ansible role |
21 | | - # directory structure. |
22 | | - # If you want to lint multiple ansible files, use the following syntax |
23 | | - # targets: | |
24 | | - # playbook_1.yml |
25 | | - # playbook_2.yml |
26 | | - targets: "roles/" |
27 | | - # [optional] |
28 | | - # Arguments to override a package and its version to be set explicitly. |
29 | | - # Must follow the example syntax. |
30 | | - # override-deps: | |
31 | | - # ansible==2.9 |
32 | | - # ansible-lint==4.2.0 |
33 | | - override-deps: | |
34 | | - rich>=9.5.1,<11.0.0 |
35 | | - # [optional] |
36 | | - # Arguments to be passed to the ansible-lint |
37 | | - |
38 | | - # Options: |
39 | | - # -q quieter, although not silent output |
40 | | - # -p parseable output in the format of pep8 |
41 | | - # --parseable-severity parseable output including severity of rule |
42 | | - # -r RULESDIR specify one or more rules directories using one or |
43 | | - # more -r arguments. Any -r flags override the default |
44 | | - # rules in ansiblelint/rules, unless -R is also used. |
45 | | - # -R Use default rules in ansiblelint/rules in addition to |
46 | | - # any extra |
47 | | - # rules directories specified with -r. There is no need |
48 | | - # to specify this if no -r flags are used |
49 | | - # -t TAGS only check rules whose id/tags match these values |
50 | | - # -x SKIP_LIST only check rules whose id/tags do not match these |
51 | | - # values |
52 | | - # --nocolor disable colored output |
53 | | - # --exclude=EXCLUDE_PATHS |
54 | | - # path to directories or files to skip. This option is |
55 | | - # repeatable. |
56 | | - # -c C Specify configuration file to use. Defaults to ".ansible-lint" |
57 | | - args: "" |
| 18 | + path: "roles/" |
0 commit comments