2018-10-15 21:47:26 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install misc software
|
|
|
|
apt: name={{ item }}
|
2020-02-03 19:46:31 +01:00
|
|
|
loop:
|
2018-10-15 21:47:26 +02:00
|
|
|
- dnsutils
|
|
|
|
- htop
|
2019-10-09 21:08:48 +02:00
|
|
|
- ipmitool
|
2018-10-15 21:47:26 +02:00
|
|
|
- less
|
|
|
|
- rsync
|
|
|
|
- vim-nox
|
2019-02-18 18:35:54 +01:00
|
|
|
- zsh
|
2018-10-15 21:47:26 +02:00
|
|
|
|
|
|
|
- name: Configure misc software
|
|
|
|
copy: src={{ item.src }} dest={{ item.dest }}
|
2020-02-03 19:46:31 +01:00
|
|
|
loop:
|
2019-02-18 18:35:54 +01:00
|
|
|
- { src: '.zshrc', dest: '/root/.zshrc' }
|
|
|
|
- { src: '.zshrc.local', dest: '/root/.zshrc.local' }
|
2019-09-12 13:22:19 +02:00
|
|
|
- { src: 'motd', dest: '/etc/motd' }
|
2018-10-15 21:47:26 +02:00
|
|
|
- { src: 'vimrc.local', dest: '/etc/vim/vimrc.local' }
|
2019-02-18 18:35:54 +01:00
|
|
|
|
|
|
|
- name: Set shell for root user
|
|
|
|
user: name=root shell=/bin/zsh
|
2019-09-10 19:14:21 +02:00
|
|
|
|
|
|
|
- name: Set vm.swappiness
|
|
|
|
sysctl: name=vm.swappiness value=10
|