Skip to content

Commit

Permalink
Update test_ansible.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
christabone authored Jun 21, 2024
1 parent 3434111 commit f041af8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
- name: Establish SSH tunnel
run: |
ssh -v -o StrictHostKeyChecking=no -f -N -L 8153:localhost:8153 -o ServerAliveInterval=15 -J ${{ secrets.GATEWAY_USER }}@${{ secrets.GATEWAY_HOST }} ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}
ssh -v -f -N -L 8157:localhost:8157 -o ServerAliveInterval=15 -J ${{ secrets.GATEWAY_USER }}@${{ secrets.GATEWAY_HOST }} ${{ secrets.TARGET_USER }}@${{ secrets.TARGET_HOST }}
- name: Test SSH tunnel
run: ssh -v -o StrictHostKeyChecking=no -p 8153 ${{ secrets.TARGET_USER }}@localhost "echo Connected to target host through tunnel"
run: ssh -v -p 8157 ${{ secrets.TARGET_USER }}@localhost "echo Connected to target host through tunnel"

- name: Create .password file
run: |
Expand Down

0 comments on commit f041af8

Please sign in to comment.