2019-01-04 19:27:04 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install misc software
|
2020-04-14 21:21:39 +02:00
|
|
|
apt:
|
|
|
|
state: latest
|
|
|
|
pkg:
|
|
|
|
- htop
|
|
|
|
- rsync
|
|
|
|
- vim-nox
|
|
|
|
- zsh
|
2019-01-04 19:27:04 +01:00
|
|
|
|
|
|
|
- name: Configure misc software
|
|
|
|
copy: src={{ item.src }} dest={{ item.dest }}
|
|
|
|
with_items:
|
|
|
|
- { src: '.zshrc', dest: '/root/.zshrc' }
|
|
|
|
- { src: '.zshrc.local', dest: '/root/.zshrc.local' }
|
|
|
|
- { src: 'vimrc.local', dest: '/etc/vim/vimrc.local' }
|
|
|
|
|
|
|
|
- name: Set shell for root user
|
|
|
|
user: name=root shell=/bin/zsh
|