fix ansible config path
This commit is contained in:
parent
94be48e874
commit
32735d6f0f
1 changed files with 3 additions and 0 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue