ansible/roles/common/tasks/main.yml

29 lines
642 B
YAML
Raw Normal View History

2017-03-26 20:02:33 +02:00
---
- name: Install misc software
apt: name={{ item }}
2017-03-26 20:02:33 +02:00
with_items:
- dnsutils
- htop
- less
- net-tools
2017-03-26 20:02:33 +02:00
- openssl
- psmisc
2017-03-26 20:02:33 +02:00
- pydf
- rsync
- sudo
- vim-nox
- zsh
- 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: 'motd', dest: '/etc/motd' }
- { src: 'prompt_gentoo_setup', dest: '/usr/share/zsh/functions/Prompts/prompt_gentoo_setup' }
2017-09-19 09:26:08 +02:00
- { src: 'vimrc.local', dest: '/etc/vim/vimrc.local' }
2017-03-26 20:02:33 +02:00
- name: Set shell for root user
user: name=root shell=/bin/zsh