Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix external debian repo installation #96

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ Only tested on ubuntu for now.

```yaml
openvpn_enabled: yes # The role is enabled
openvpn_version: stable # Version can be one of
# stable: stable releases only - no alphas, betas or RCs
# testing: latest releases, including alphas/betas/RCs
# release/2.3: OpenvPN 2.3 releases
# release/2.4: OpenVPN 2.4 releases, including alphas/betas/RCs

openvpn_etcdir: /etc/openvpn
openvpn_keydir: "{{openvpn_etcdir}}/keys"
Expand Down
5 changes: 5 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---

openvpn_enabled: yes # The role is enabled
openvpn_version: stable # Version can be one of
# stable: stable releases only - no alphas, betas or RCs
# testing: latest releases, including alphas/betas/RCs
# release/2.3: OpenvPN 2.3 releases
# release/2.4: OpenVPN 2.4 releases, including alphas/betas/RCs

openvpn_etcdir: /etc/openvpn
openvpn_keydir: "{{openvpn_etcdir}}/keys"
Expand Down
2 changes: 1 addition & 1 deletion tasks/install.deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- name: Add OpenVPN repo sources
apt_repository:
filename: openvpn
repo: deb http://swupdate.openvpn.net/apt {{ ansible_lsb.codename }} main
repo: deb http://build.openvpn.net/debian/openvpn/{{ openvpn_version }} {{ ansible_lsb.codename }} main
when: openvpn_use_external_repo

- name: Install requirements (Debian)
Expand Down