blob: 744102280da66f5a88da22e15c98b53b6208d4e2 (
plain) (
blame)
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
|
---
- name: Basic Setup
hosts: ch-equinox-ws
roles:
- role: apt-repo/base
- role: core/base
- role: core/sshd
- role: core/zsh
- role: core/cpu-microcode
- role: core/admin-users
- role: network/wakeonlan
- role: apt-repo/backports
- role: apt-repo/spreadspace
- role: apt-repo/tor-project
- role: apt-repo/kubernetes
- role: apt-repo/riot
- role: ws/base
post_tasks:
- name: install ansible via pip
pip:
name: ansible
- name: disable caps-lock
lineinfile:
path: /etc/default/keyboard
regexp: '#?\s*XKBOPTIONS='
line: 'XKBOPTIONS="caps:none"'
- name: mount fileserver volumes
mount:
src: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-prometheus']) | ipaddr('address') }}:/"
path: /srv/files
fstype: nfs4
opts: nodev,x-systemd.automount,nofail
state: mounted
|