-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yml
78 lines (78 loc) · 1.88 KB
/
main.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
- hosts: all
become: True
gather_facts: True
roles:
- ssh
- system
- luci
- network
- dns
- adblock
vars_prompt:
- name: country_code
prompt: "Country code"
private: no
default: "UA"
- name: timezone
prompt: "Timezone"
private: no
default: "MSK-3"
- name: zonename
prompt: "Time zone name"
private: no
default: "Europe/Moscow"
- name: hostname
prompt: "Hostname"
private: no
default: "turris"
- name: local_ip
prompt: "IP range of your home local network"
private: no
default: "192.168.0.0/16"
- name: router_ip
prompt: "IP addr of router"
private: no
default: "192.168.1.1"
- name: mac_addr
prompt: "router mac address"
private: no
- name: router_guest_ip
prompt: "IP addr of guest interface"
private: no
default: "10.111.222.1"
- name: ula_prefix
prompt: "IPv6 ULA prefix"
private: no
default: "fd9d:1b60:83cc::/48"
- name: pppoe_username
prompt: "pppoe username"
private: no
- name: pppoe_password
prompt: "pppoe password"
private: yes
- name: mullvad_account
prompt: "Mullvad account number"
- name: ssid
prompt: "SSID"
private: no
- name: core_password
prompt: "Core WiFi password"
- name: guest_password
prompt: "Guest WiFi password"
vars:
# dev-sec vars
sysctl_overwrite:
net.ipv6.conf.all.disable_ipv6: 0
net.ipv4.ip_forward: 1
net.ipv6.conf.all.forwarding: 1
net.ipv6.conf.default.forwarding: 1
vm.mmap_rnd_bits: 32
vm.mmap_rnd_compat_bits: 16
ufw_manage_defaults: False
ssh_server_enabled: True
ssh_server_hardening: yes
ssh_use_dns: yes
ssh_permit_root_login: yes
sftp_enabled: yes
os_auditd_enabled: false
network_ipv6_enable: True