You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
541 B
YAML

---
- name: update pacman cache
pacman:
update_cache: yes
- name: install packages for admins
pacman:
name: '{{ item }}'
state: present
with_items:
- bash-completion
- bridge-utils
- htop
- mosh
- nload
- rxvt-unicode-terminfo
- screen
- tmux
- vim
- name: create bash_profile
lineinfile:
path: /root/.bash_profile
line: '[[ -f ~/.bashrc ]] && . ~/.bashrc'
create: yes
- name: copy bashrc
copy:
src: bashrc
dest: /root/.bashrc