Skip to content

fix: wip

fix: wip #5

Workflow file for this run

name: Ansible Lint
on:
push
env:
NAMESPACE: tosit
COLLECTION_NAME: tdp
ANSIBLE_COLLECTION_PATH: ${{ github.workspace }}
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}
- run: |
dev/setup.sh
echo $ANSIBLE_COLLECTION_PATH
ls -l $ANSIBLE_COLLECTION_PATH
pwd
working-directory: ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}
- name: Run ansible-lint
run: source venv/bin/activate && ansible-lint
working-directory: ./ansible_collections/${{env.NAMESPACE}}/${{env.COLLECTION_NAME}}