diff --git a/.github/workflows/infra.yaml b/.github/workflows/infra.yaml index a3b24d7..327be7b 100644 --- a/.github/workflows/infra.yaml +++ b/.github/workflows/infra.yaml @@ -20,7 +20,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - run: -| + - run: | uname -a lsb_release -a - name: Setup Python @@ -29,7 +29,7 @@ jobs: python-version: ">=3.11" - name: Install dependencies - run: -| + run: | python3 -m venv venv source venv/bin/activate pip3 install -r requirements.txt @@ -42,7 +42,7 @@ jobs: files: infra/**-playbook.yaml - name: Check modified playbooks - run: -| + run: | for file in ${{ steps.changed-playbooks.outputs.all_changed_files }}; do ansible --inventory ./inventory --check "$file" done