Skip to content

Commit

Permalink
Merge pull request #2 from nileshgadgi/feat/molecule
Browse files Browse the repository at this point in the history
ci: added continue on erro for molecule lint
  • Loading branch information
nileshgadgi authored May 20, 2024
2 parents 449fcad + cb92637 commit 9818c6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
uses: actions/checkout@v4
- name: ansible-lint
uses: ansible-community/ansible-lint-action@main
continue-on-error: true
test:
needs:
- lint
Expand Down
5 changes: 3 additions & 2 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
driver:
name: docker
platforms:
- name: "${image:-ubuntu} Machine"
- name: "${image:-ubuntu}-${tag:-22.04}-machine"
image: "${image:-ubuntu}:${tag:-22.04}"
privileged: yes
pre_build_image: false
lint: |
set -e
Expand All @@ -15,7 +16,7 @@ provisioner:
playbooks:
converge: playbook.yml
env:
ANSIBLE_EXTRA_VARS: "{'skip_handlers': true}"
skip_handlers: "true"
scenario:
name: default
test_sequence:
Expand Down

0 comments on commit 9818c6c

Please sign in to comment.