diff --git a/.github/workflows/run-playbook.yml b/.github/workflows/run-playbook.yml index 99da58b..a2ae1ea 100644 --- a/.github/workflows/run-playbook.yml +++ b/.github/workflows/run-playbook.yml @@ -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