summaryrefslogtreecommitdiff
path: root/roles/install_admin_packages/tasks/main.yml
blob: e359745c5a3787f83a90998da6e94e92ca0ff0ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
- name: update pacman cache
  pacman:
      update_cache: yes
- name: install packages for admins
  pacman:
      name:
        - bash-completion
        - bridge-utils
        - htop
        - mosh
        - nload
        - rxvt-unicode-terminfo
        - screen
        - tmux
        - vim
        - tcpdump
      state: present

- 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