Skip to content

Commit

Permalink
Deploy to Latitude
Browse files Browse the repository at this point in the history
  • Loading branch information
obalaribe committed May 30, 2024
1 parent 144ee06 commit 3109f2c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,15 @@ jobs:
- name: Setup Virtual Environment
working-directory: ansible
run: |
source /opt/pipx/venvs/ansible-core/bin/activate
echo "${{ secrets.SSH_KEY }}" >> key && chmod 0600 key && ls -ltr .
ansible all -m ping --inventory inventory/${{ env.NETWORK }}.ini --extra-vars "@${{ env.NETWORK }}-vars.yml"
- name: view ansible inventory
working-directory: ansible
run: ansible-inventory --inventory inventory/${{ env.NETWORK }}.ini --list
run: ansible-inventory --inventory inventory/${{ env.NETWORK }}.ini --list

- name: ping all
working-directory: ansible
run: ansible all -m ping --inventory inventory/${{ env.NETWORK }}.ini --extra-vars "@${{ env.NETWORK }}-vars.yml"
run: ansible all -m ping --inventory inventory/${{ env.NETWORK }}.ini --extra-vars "@${{ env.NETWORK }}-vars.yml" -vvv

- name: run playbook
working-directory: ansible
Expand Down

0 comments on commit 3109f2c

Please sign in to comment.