Skip to content

Commit c7cbfc2

Browse files
manually configure ansible-lint
1 parent 1184bee commit c7cbfc2

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/ci-lint.yml

+3-16
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,11 @@ jobs:
3838
python-version: ${{ matrix.versions.python }}
3939
ansible-version: ${{ matrix.versions.ansible }}
4040

41-
# - name: Lint Ansible Role
42-
# if: success()
43-
# run: >-
44-
# echo ${PWD} &&
45-
# molecule --version &&
46-
# ansible --version &&
47-
# molecule lint
48-
# working-directory: ${{ inputs.role-path }}
49-
50-
- name: Skipped - Lint Ansible Role
41+
- name: Lint Ansible Role
5142
if: success()
5243
run: >-
5344
echo ${PWD} &&
5445
molecule --version &&
55-
ansible --version
46+
ansible --version &&
47+
ansible-lint --profile production
5648
working-directory: ${{ inputs.role-path }}
57-
58-
- name: Run ansible-lint
59-
uses: ansible/[email protected]
60-
with:
61-
working_directory: ${{ inputs.role-path }}

0 commit comments

Comments
 (0)