-
Notifications
You must be signed in to change notification settings - Fork 52
38 lines (33 loc) · 1.12 KB
/
run-playbook.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: GitHub Actions Testing
run-name: ${{ github.actor }} test out actions
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 install python3-pip
sudo pip3 install ansible
# - name: Run playbook
# uses: dawidd6/action-ansible-playbook@v2
# with:
# # Required, playbook filepath
# playbook: hms-docker.yml
# # Optional, directory where playbooks live
# directory: ${{ github.workspace }}
# # Optional, galaxy requirements filepath
# # requirements: galaxy-requirements.yml
# # Optional, additional flags to pass to ansible-playbook
# options: |
# --inventory inventory
# --connection local
# --extra-vars "hms_docker_compose_container_state=absent hms_docker_container_map.transmission.enabled=no hms_docker_container_map.plex.enabled=no"
# --verbose