Test OS Deployments #15
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: GitHub Actions Testing | |
run-name: Test OS Deployments | |
on: | |
push: | |
branches: [ gh-actions ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
Ubuntu22: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repo code | |
uses: actions/checkout@v4 | |
- name: Install ansible | |
run: | | |
sudo apt update | |
sudo apt install ansible | |
- name: Run playbook | |
run: | | |
sudo ansible-playbook -i inventory --connection local hms-docker.yml --diff --extra-vars "hms_docker_compose_container_state=absent hms_docker_container_map.transmission.enabled=no hms_docker_container_map.plex.enabled=no is_github_runner=yes" | |
Ubuntu20: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out repo code | |
uses: actions/checkout@v4 | |
- name: Install ansible | |
run: | | |
sudo apt update | |
sudo apt install ansible | |
- name: Run playbook | |
run: | | |
sudo ansible-playbook -vvv -i inventory --connection local hms-docker.yml --diff --extra-vars "hms_docker_compose_container_state=absent hms_docker_container_map.transmission.enabled=no hms_docker_container_map.plex.enabled=no is_github_runner=yes" |