-
Notifications
You must be signed in to change notification settings - Fork 1
/
full.yml
111 lines (110 loc) · 2.84 KB
/
full.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
- hosts:
- example_routers
vars:
example_var: "test"
tasks:
- name: sanitize armbian defaults
import_role:
name: lanefu.clammy.sanitize_armbian_defaults
tags:
- core
- sanitize
- system
- name: sysctl base configurations
import_role:
name: lanefu.clammy.sysctl_base
tags:
- core
- sysctl
- system
- name: configure wan interface with netplan
import_role:
name: lanefu.clammy.netplan
vars:
netplan_configuration: "{{ wan_netplan_configuration }}"
netplan_config_file: "{{ wan_netplan_config_file }}"
netplan_apply: True
tags:
- netplan
- wan
- interfaces
##FIXME need more elegant way in role to apply / flush
- name: Flush handlers to apply netplan WAN now
meta: flush_handlers
tags:
- netplan
- wan
- interfaces
- name: configure lan interfaces with netplan
import_role:
name: lanefu.clammy.netplan
vars:
netplan_configuration: "{{ lan_netplan_configuration }}"
netplan_config_file: "{{ lan_netplan_config_file }}"
netplan_apply: True
netplan_remove_existing: false
tags:
- netplan
- lan
- interfaces
##FIXME need more elegant way in role to apply / flush
- name: Flush handlers to apply netplan LAN now
meta: flush_handlers
tags:
- netplan
- lan
- interfaces
- name: Wireguard interfaces
debug:
msg: you would probably do wireguard interfaces here
- name: dnsmasq role
import_role:
name: lanefu.clammy.dnsmasq
tags:
- dns
- dhcp
- dnsmasq
##FIXME need more elegant way in role to apply / flush
- name: Flush handlers to apply dnsmasq dns etc
meta: flush_handlers
tags:
- dnsmasq
- dns
- dhcp
- name: frr routing role
import_role:
name: lanefu.clammy.frr
tags:
- frr
- routing
- name: Flush handlers to apply frrouting
meta: flush_handlers
tags:
- frrouting
- frr
- name: foomuuri firewall role
import_role:
name: lanefu.clammy.foomuuri
tags:
- foomuuri
- firewall
- name: Install extra router creature comforts
import_role:
name: lanefu.clammy.creature_comforts
tags:
- extras
- comforts
- name: configure dynamic dns client
import_role:
name: lanefu.clammy.inadyn
tags:
- dyndns
- dynamic-dns
- inadyn
when: configure_dynamic_dns | default('') is truthy(convert_bool=true)
- name: reminders
debug:
msg: dont forget to finish the project
- name: reminders
debug:
msg: dont forget to finish the project