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.
36 lines
627 B
YAML
36 lines
627 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
|
|
- tcpdump
|
|
|
|
- name: create bash_profile
|
|
lineinfile:
|
|
path: /root/.bash_profile
|
|
line: '[[ -f ~/.bashrc ]] && . ~/.bashrc'
|
|
create: yes
|
|
|
|
- name: copy bashrc
|
|
copy:
|
|
src: bashrc
|
|
dest: /root/.bashrc
|
|
|
|
- name: copy vimrc
|
|
copy:
|
|
src: vimrc
|
|
dest: /root/.vimrc
|