Support new distributions scripts #1
Workflow file for this run
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: Ansible Playbook Execution | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
run-playbook-amd64: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
debian_version: [buster, bullseye, bookworm] | |
container: | |
image: debian:${{ matrix.debian_version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Packages | |
run: | | |
apt-get update | |
apt-get install -y ansible sudo curl | |
- name: Run Playbook | |
run: | | |
ANSIBLE_ROLES_PATH=../ ansible-playbook playbook.yml --ask-become-pass | |
run-playbook-arm64: | |
runs-on: ubuntu-22.04-arm | |
strategy: | |
matrix: | |
debian_version: [buster, bullseye, bookworm] | |
container: | |
image: debian:${{ matrix.debian_version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Packages | |
run: | | |
apt-get update | |
apt-get install -y ansible sudo curl | |
- name: Run Playbook | |
run: | | |
ANSIBLE_ROLES_PATH=../ ansible-playbook playbook.yml --ask-become-pass |