Skip to content

Commit

Permalink
manual ansible install
Browse files Browse the repository at this point in the history
  • Loading branch information
ahembree committed Dec 9, 2023
1 parent 98f546c commit 48f2a44
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/run-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,24 @@ jobs:
steps:
- name: Check out repo code
uses: actions/checkout@v4
- 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
- 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

# 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

0 comments on commit 48f2a44

Please sign in to comment.