2018-10-15 21:47:26 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install misc software
|
2020-11-13 17:39:47 +01:00
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- dnsutils
|
|
|
|
- htop
|
|
|
|
- ipmitool
|
|
|
|
- less
|
|
|
|
- rsync
|
|
|
|
- vim-nox
|
|
|
|
- zsh
|
2018-10-15 21:47:26 +02:00
|
|
|
|
|
|
|
- name: Configure misc software
|
|
|
|
copy: src={{ item.src }} dest={{ item.dest }}
|
2021-08-02 12:05:53 +02:00
|
|
|
diff: no
|
2018-10-15 21:47:26 +02:00
|
|
|
with_items:
|
2021-11-03 18:29:04 +01:00
|
|
|
- { src: ".zshrc", dest: "/root/.zshrc" }
|
|
|
|
- { src: ".zshrc.local", dest: "/root/.zshrc.local" }
|
|
|
|
- { src: "motd", dest: "/etc/motd" }
|
|
|
|
- { 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
|