Skip to content

Commit

Permalink
Merge pull request #19 from barstown/ansible_lint_fix
Browse files Browse the repository at this point in the history
Running ansible-lint action twice to fix bug with found collections.
  • Loading branch information
barstown authored Jun 28, 2024
2 parents 6c27254 + 56405d9 commit 5d9a132
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,7 @@ task_name_prefix: "{stem} | "

# Limit the depth of the nested blocks:
# max_block_depth: 20

# Also recognize these versions of Ansible as supported:
# supported_ansible_also:
# - "2.14"
8 changes: 8 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,13 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v4
# This runs twice, once to install the collections and roles, because
# the current action is unable to resolve FQCN for modules on first pass
- name: Install required collections and roles
uses: ansible/ansible-lint@v24
with:
args: "galaxy.yml -v"
- name: Run ansible-lint
uses: ansible/ansible-lint@v24
with:
args: "-v"

0 comments on commit 5d9a132

Please sign in to comment.