fix ansibleCD
This commit is contained in:
parent
91a1930642
commit
4a74533c72
1 changed files with 3 additions and 2 deletions
|
@ -84,11 +84,12 @@ jobs:
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
echo "Deploying to $target_host for folder $folder"
|
echo "Deploying to $target_host for folder $folder"
|
||||||
|
done
|
||||||
|
|
||||||
- name: Run Ansible Playbook
|
- name: Run Ansible Playbook
|
||||||
uses: docker://mafyuh/ansible-bws:v1.0.1
|
uses: docker://mafyuh/ansible-bws:v1.0.1
|
||||||
with:
|
with:
|
||||||
args: ansible-playbook -i hosts.ini /playbooks/deploy-docker.yml --extra-vars "target_host=$target_host folder=$folder"
|
args: ansible-playbook -i hosts.ini /playbooks/deploy-docker.yml --extra-vars "target_host=$target_host folder=$folder"
|
||||||
env:
|
env:
|
||||||
BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }}
|
BWS_ACCESS_TOKEN: ${{ secrets.BWS_ACCESS_TOKEN }}
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
Loading…
Reference in a new issue