feat(role): add ansible-lint, fix ansible-lint issues
This commit is contained in:
@@ -26,9 +26,11 @@ jobs:
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- name: Intall test dependencies
|
||||
run: pip3 install yamllint
|
||||
- name: Lint code
|
||||
run: pip3 install yamllint ansible-lint
|
||||
- name: Lint code with yamllint
|
||||
run: 'yamllint .'
|
||||
- name: Lint code with yamllint
|
||||
run: 'ansible-lint --profile production --show-relpath .'
|
||||
molecule:
|
||||
name: molecule
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user