Skip to content

Commit

Permalink
Revert to using playbook due to gather_facts needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Tina-otoge committed Apr 11, 2024
1 parent b929cc2 commit 91446ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
env:
ANSIBLE_HOST_KEY_CHECKING: false
run: |
ansible ${{ secrets.DEPLOY_HOST }} -m include_role -a name=deploy \
ansible-playbook -l ${{ secrets.DEPLOY_HOST }} playbooks/deploy_as.yml \
-u ${{ secrets.DEPLOY_LOGIN_USER }} \
-e "deploy_user=${{ secrets.DEPLOY_USER }}"
-e "deploy_git=${{ github.repositoryUrl }}" \
-e "deploy_version=${{ github.sha }}" \
-e deploy_app=MechaDon2 \
-e deploy_service=mechadon \
-e "deploy_git=${{ github.repositoryUrl }}" \
-u ${{ secrets.DEPLOY_LOGIN_USER }} \
--become-user ${{ secrets.DEPLOY_USER }}

0 comments on commit 91446ef

Please sign in to comment.