1
0
forked from infra/ansible
infra/roles/common/tasks/Proxmox.yml

27 lines
556 B
YAML
Raw Normal View History

2018-10-15 21:47:26 +02:00
---
- name: Install misc software
apt: name={{ item }}
loop:
2018-10-15 21:47:26 +02:00
- dnsutils
- htop
- ipmitool
2018-10-15 21:47:26 +02:00
- less
- rsync
- vim-nox
- zsh
2018-10-15 21:47:26 +02:00
- name: Configure misc software
copy: src={{ item.src }} dest={{ item.dest }}
loop:
- { src: '.zshrc', dest: '/root/.zshrc' }
- { src: '.zshrc.local', dest: '/root/.zshrc.local' }
- { src: 'motd', dest: '/etc/motd' }
2018-10-15 21:47:26 +02:00
- { src: 'vimrc.local', dest: '/etc/vim/vimrc.local' }
- name: Set shell for root user
user: name=root shell=/bin/zsh
- name: Set vm.swappiness
sysctl: name=vm.swappiness value=10