Skip to content

Commit

Permalink
use community openvpn3 package
Browse files Browse the repository at this point in the history
  • Loading branch information
cguertin14 committed Aug 3, 2024
1 parent ce01cfd commit cc6733b
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/ansible-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,11 @@ jobs:
- name: Check out the codebase.
uses: actions/checkout@v2

- name: Install OpenVPN
run: |
sudo apt-get update
sudo apt-get --assume-yes --no-install-recommends install openvpn3
- name: Setup VPN config
run: |
echo "${{ secrets.VPN_CONFIG }}" > config.ovpn
- name: Connect VPN
run: sudo openvpn3 session-start --dco true --config config.ovpn --background
- uses: dbritto-dev/openvpn3-action@main
with:
vpn-client-config: ${{ secrets.VPN_CONFIG }}
script: |
sudo openvpn3 sessions-list
- name: Wait for a VPN connection
timeout-minutes: 1
Expand Down

0 comments on commit cc6733b

Please sign in to comment.