home · contact · privacy
Add first stab at ansible config for new thinkpad.
[config] / ansible / config.yml
1 ---
2 - hosts: all
3   user: root
4   become: yes
5   tasks:
6
7   - include: tasks/hostname.yml
8     vars:
9       hostname: w530 
10
11   - include: tasks/apt_init.yml
12
13   - include: tasks/console_init.yml
14
15   - include: tasks/timezone.yml
16     vars:
17        timezone: Europe/Berlin
18
19   - name: ensure boot messages are not cleand on start up
20     replace:
21       dest: /etc/systemd/system/getty.target.wants/getty@tty1.service
22       regexp: '^TTYVTDisallocate=yes.*$'
23       replace: 'TTYVDisallocate=no'