[Snyk] Fix for 7 vulnerabilities #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint the Playbook with Ansible Lint | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
PY_COLORS: '1' | |
ANSIBLE_FORCE_COLOR: '1' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Lint Ansible Playbook | |
uses: ansible/ansible-lint-action@master | |
with: | |
targets: | | |
defaults/*.yml | |
handlers/*.yml | |
tasks/*.yml | |
override-deps: | | |
ansible==2.7 | |
ansible-lint==4.2.0 | |
args: "-c .ansible-lint -x 204" |