summaryrefslogtreecommitdiff
path: root/roles/install_admin_packages/tasks/main.yml
blob: 856adfbd3ef19010951e923202e63a52fcb4914b (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
---
- 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