-
Notifications
You must be signed in to change notification settings - Fork 3
/
test.yml
40 lines (34 loc) · 855 Bytes
/
test.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
39
40
- name: Prepare the new server for Ansible
# =========================================
hosts: localhost
gather_facts: no
remote_user: root
become: true
tasks:
- name: Install Python using a raw SSH command to enable the execution of Ansible modules
raw: apt update && apt install python -y
args:
executable: /bin/bash
- name: Configure the Server and install required software
# ========================================================
hosts: localhost
remote_user: root
become: true
roles:
- common
# OpenConnect must be set up before L2TP/IPsec in order to avoid
# issues.
- openconnect
- l2tp-ipsec
- openvpn
- stunnel
- shadowsocks
- ssh
- tinyproxy
- tor-bridge
- sslh
- monit
- ufw
- wireguard
- brasscrow-mirror
- brasscrow-gateway