2019-04-16 13:17:19 +02:00
|
|
|
---
|
|
|
|
- name: Update all packages to the latest version
|
|
|
|
apt:
|
|
|
|
upgrade: dist
|
|
|
|
- name: Install packages
|
|
|
|
apt:
|
|
|
|
name: "{{ packages }}"
|
|
|
|
vars:
|
|
|
|
packages:
|
|
|
|
- zsh
|
|
|
|
- iotop
|
|
|
|
- latencytop
|
2019-08-15 18:12:10 +02:00
|
|
|
- ethtool
|
2019-04-16 13:17:19 +02:00
|
|
|
|
2019-07-03 20:17:45 +02:00
|
|
|
- name: Adjust sysctl values
|
|
|
|
copy:
|
|
|
|
src: ../files/sysctl/zentralwerk.conf
|
|
|
|
dest: /etc/sysctl.d/zentralwerk.conf
|
|
|
|
|
|
|
|
- name: Apply sysctl
|
|
|
|
shell: "systemctl restart systemd-sysctl.service"
|
|
|
|
|
2019-04-16 13:17:19 +02:00
|
|
|
- name: Cloning oh-my-zsh
|
|
|
|
git:
|
|
|
|
repo=https://github.com/robbyrussell/oh-my-zsh
|
|
|
|
dest=~/.oh-my-zsh
|
|
|
|
|
|
|
|
- name: Link ~/.zshrc
|
|
|
|
file:
|
|
|
|
src: /etc/pve/zshrc
|
|
|
|
dest: ~/.zshrc
|
|
|
|
state: link
|
|
|
|
force: yes
|