aboutsummaryrefslogtreecommitdiffstats
path: root/roles/tools/tasks/main.yml
blob: 5e8dada0021816ba9ce5d4e3eb9f39b84a01f56c (plain) (blame)
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

# tools ~~ roles/tools/tasks/main.yml
# see : https://gitlab.archlinux.org/archlinux/infrastructure/-/blob/master/roles/tools/tasks/main.yml

---

- set_fact:
    packages: "{{ packages[ansible_distribution | lower] }}"

- name: install per distribution correspond tools
  package: state=present name="{{ item }}"
  loop:
    - "{{ packages.sshfs }}"
    - "{{ packages.wireguard }}"
    - "{{ packages.extra if packages.extra is defined }}"
  ignore_errors: true


- name: install global utils
  package: name="{{ item }}" state=present
  loop:
    - curl
    - figlet
    - git
    - htop
    - neovim
    - tmux
    - wget
    - zsh
  ignore_errors: true
remember that computers suck.