-
Notifications
You must be signed in to change notification settings - Fork 11
/
openvpn-server.yml
38 lines (32 loc) · 955 Bytes
/
openvpn-server.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This playbook contains tasks to perform on a fresh Fedora installation to
# create a Fedora FSLSecurity Lab Test bench.
#
# Copyright (c) 2013-2019 Fabian Affolter <[email protected]>
#
# Licensed under CC BY 3.0. All rights reserved.
#
# Usage: ansible-playbook openvpn-server.yml -f 10
#
---
- hosts: fsl-tb-vpn
user: root
vars_files:
- variables/application-versions.yml
- variables/sensitive.yml
tasks:
- include: tasks/preparation.yml
- include: tasks/motd.yml
- include: tasks/lighttpd.yml
# Common tasks
- include: tasks/preparation.yml
# OpenVPN server with PKI
# - include: tasks/openvpn.yml
# OpenVPN server with a static key
- include: task/web-interface-vpn-static.yml
- include: tasks/openvpn-static.yml
- include: tasks/helpers/log-openvpn.yml
# Common tasks
- include: tasks/cleanup.yml
handlers:
- include: handlers/system.yml
- include: handlers/services.yml