-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathmain.yml
More file actions
302 lines (287 loc) · 6.72 KB
/
main.yml
File metadata and controls
302 lines (287 loc) · 6.72 KB
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
---
db_defaults:
host: db00
user: mythtv
name: mythtv
context: local
display_driver_defaults:
type: nvidia
download: False
nvidia:
checksum: 0a7aa742c46bcf34d766982402d17b3db1fdb3bc1b89344d70cd123c1cb3147c
creates: /usr/lib64/xorg/modules/libnvidia-wfb.so.1
download_uri: http://us.download.nvidia.com/XFree86/Linux-x86_64
version: 565.77
packages:
- nvidia-304
screen:
modes:
- 1280x720
- 1920x1080
- 1980x1080i
xorg:
video_intel: false
display_driver: "{{ display_driver_defaults | combine(display_driver_overrides) }}"
ir_device:
device: /dev/lirc0
module: lirc_mceusb2
product_name: Media Center Ed. eHome Infrared Remote Transceiver (1784:0008)
protocol: rc6
service_name: lirc
variant: rc6_mce
scancodes:
0x800f0400:
name: KEY_0
keycode: 0x200
0x800f0401:
name: KEY_1
keycode: 0x201
0x800f0402:
name: KEY_2
keycode: 0x202
0x800f0403:
name: KEY_3
keycode: 0x203
0x800f0404:
name: KEY_4
keycode: 0x204
0x800f0405:
name: KEY_5
keycode: 0x205
0x800f0406:
name: KEY_6
keycode: 0x206
0x800f0407:
name: KEY_7
keycode: 0x207
0x800f0408:
name: KEY_8
keycode: 0x208
0x800f0409:
name: KEY_9
keycode: 0x209
0x800f040a:
name: KEY_DELETE
keycode: 0x6f
0x800f040b:
name: KEY_RESERVED
keycode: 0x1c
0x800f040c:
name: KEY_SLEEP
keycode: 0x8e
0x800f040d:
name: KEY_M
keycode: 0xe2
0x800f040e:
name: KEY_MUTE
keycode: 0x71
0x800f040f:
name: KEY_I
keycode: 0x166
0x800f0410:
name: KEY_VOLUMEUP
keycode: 0x73
0x800f0411:
name: KEY_VOLUMEDOWN
keycode: 0x72
0x800f0412:
name: KEY_PAGEUP
keycode: 0x192
0x800f0413:
name: KEY_PAGEDOWN
keycode: 0x193
0x800f0414:
name: KEY_DOT
keycode: 0xd0
0x800f0415:
name: KEY_COMMA
keycode: 0xa8
0x800f0416:
name: KEY_P
keycode: 0xcf
0x800f0417:
name: KEY_RECORD
keycode: 0xa7
0x800f0418:
name: KEY_P
keycode: 0x77
0x800f0419:
name: KEY_ESC
keycode: 0x80
0x800f041a:
name: KEY_F13
keycode: 0x197
0x800f041b:
name: KEY_F14
keycode: 0x19c
0x800f041c:
name: KEY_W
keycode: 0x20b
0x800f041d:
name: KEY_KPASTERISK
keycode: 0x20a
0x800f041e:
name: KEY_UP
keycode: 0x67
0x800f041f:
name: KEY_DOWN
keycode: 0x6c
0x800f0420:
name: KEY_LEFT
keycode: 0x69
0x800f0421:
name: KEY_RIGHT
keycode: 0x6a
0x800f0422:
name: KEY_ENTER
keycode: 0x160
0x800f0423:
name: KEY_ESC
keycode: 0xae
0x800f0424:
name: KEY_DVD
keycode: 0x185
0x800f0425:
name: KEY_TUNER
keycode: 0x182
0x800f0426:
name: KEY_EPG
keycode: 0x16d
0x800f0427:
name: KEY_ZOOM
keycode: 0x174
0x800f0432:
name: KEY_MODE
keycode: 0x175
0x800f0433:
name: KEY_PRESENTATION
keycode: 0x1a9
0x800f0434:
name: KEY_EJECTCD
keycode: 0xa1
0x800f043a:
name: KEY_BRIGHTNESSUP
keycode: 0xe1
0x800f0446:
name: KEY_TV
keycode: 0x179
0x800f0447:
name: KEY_AUDIO
keycode: 0x188
0x800f0448:
name: KEY_PVR
keycode: 0x16e
0x800f0449:
name: KEY_CAMERA
keycode: 0xd4
0x800f044a:
name: KEY_VIDEO
keycode: 0x189
0x800f044c:
name: KEY_LANGUAGE
keycode: 0x170
0x800f044d:
name: KEY_TITLE
keycode: 0x171
0x800f044e:
name: KEY_PRINT
keycode: 0xd2
0x800f0450:
name: KEY_RADIO
keycode: 0x181
0x800f045a:
name: KEY_SUBTITLE
keycode: 0x172
0x800f045b:
name: KEY_RED
keycode: 0x18e
0x800f045c:
name: KEY_GREEN
keycode: 0x18f
0x800f045d:
name: KEY_YELLOW
keycode: 0x190
0x800f045e:
name: KEY_BLUE
keycode: 0x191
0x800f0465:
name: KEY_POWER2
keycode: 0x164
0x800f0469:
name: KEY_MESSENGER
keycode: 0x1ae
0x800f046e:
name: KEY_PLAYPAUSE
keycode: 0xa4
0x800f046f:
name: KEY_PLAYER
keycode: 0x183
0x800f0480:
name: KEY_BRIGHTNESSDOWN
keycode: 0xe0
0x800f0481:
name: KEY_PLAYPAUSE
keycode: 0xa4
mythdb_overrides: {}
db: "{{ db_defaults | combine(mythdb_overrides) }}"
mythtv_version: 36
network_defaults:
address: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}"
gateway: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['gateway'] }}"
interface: enp0s10
mode: dhcp
module: False
nameservers: "{{ hostvars[inventory_hostname]['ansible_dns']['nameservers'] }}"
netmask: "{{ hostvars[inventory_hostname]['ansible_default_ipv4']['netmask'] }}"
search: "{{ hostvars[inventory_hostname]['ansible_dns']['search'] }}"
vrrp_interface: null
network_override: {}
network: "{{ network_defaults | combine(network_override) }}"
# To disable this feature, override suspend to False
suspend:
hour: 0
minute: 30
wake_hour: 17
wake_minute: 30
weekday: 1-5
ubuntu_apt_keys:
# workaround: wget -q -O - https://dl.google.com/linux/linux_signing_key.pub \
# | sudo apt-key add -
# and in /etc/apt/sources.list.d/google-chrome.list:
# deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
#
# An alternative approach, until Ansible docs explain a better way, is
# described here: https://peateasea.de/avoiding-ansible-apt-key-on-debian/
#
# chrome: 78BD65473CB3BD13
graphics: FCAE110B1118213C
ubuntu_packages:
- cron
- evtest
- google-chrome-stable
- ir-keytable
- libdvd-pkg
- lightdm
- mariadb-client
- mythtv-common
- mythtv-frontend
- kde-plasma-desktop
- software-properties-common
- xserver-xorg-core
- xserver-xorg-input-all
- xterm
ubuntu_repo_uri: http://archive.ubuntu.com/ubuntu/
ubuntu_repo_defaults:
- deb {{ ubuntu_repo_uri }} {{ ansible_distribution_release
}} main restricted universe multiverse
- deb {{ ubuntu_repo_uri }} {{ ansible_distribution_release
}}-updates main restricted universe multiverse
- deb {{ ubuntu_repo_uri }} {{ ansible_distribution_release
}}-backports main restricted universe multiverse
- deb {{ ubuntu_repo_uri }} {{ ansible_distribution_release
}}-security main restricted universe multiverse
ubuntu_repo_additions:
- deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu {{
ansible_distribution_release }} main
- deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
ubuntu_repos: "{{ ubuntu_repo_defaults + ubuntu_repo_additions }}"