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