fix ansible config path

This commit is contained in:
Matt Reeves 2025-01-12 17:51:07 -05:00
parent 94be48e874
commit 32735d6f0f

View file

@ -86,6 +86,9 @@ jobs:
ssh-add /root/.ssh/id_rsa ssh-add /root/.ssh/id_rsa
- name: Run the selected playbook - name: Run the selected playbook
env:
BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }}
ANSIBLE_CONFIG: ansible/ansible.cfg
run: | run: |
ansible-playbook -i ansible/hosts.ini ./ansible/playbooks/${{ github.event.inputs.playbook }} \ ansible-playbook -i ansible/hosts.ini ./ansible/playbooks/${{ github.event.inputs.playbook }} \
--extra-vars "bw_access_token=${{ secrets.BW_ACCESS_TOKEN }}" --extra-vars "bw_access_token=${{ secrets.BW_ACCESS_TOKEN }}"