Infra Setup #1

Closed
cyclane wants to merge 14 commits from infra-setup into main
1 changed files with 3 additions and 3 deletions
Showing only changes of commit fe43f55a48 - Show all commits

View File

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