blob: 0abd228f7b0a163cd4e8e073ffa4f5dad8267b82 (
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
31
32
33
34
35
36
37
38
39
|
# tools ~~ roles/tools/tasks/main.yml
# see : https://gitlab.archlinux.org/archlinux/infrastructure/-/blob/master/roles/tools/tasks/main.yml
---
- set_fact:
packages: "{{ packages[os_distribution] }}"
- name: install sysadmin tools
package: state=present name="{{ item }}"
loop:
- tmux
- htop
#failed_when: false
ignore_errors: true
- name: install per distribution correspond tools
package: state=present name="{{ item }}"
loop:
- "{{ packages.sshfs }}"
- "{{ packages.wireguard }}"
ignore_errors: true
- name: install misc utils
package: state=present name="{{ item }}"
loop:
- zsh
- neovim
- wget
- curl
- git
#failed_when: false
ignore_errors: true
- name: install scripts repository
git:
repo: "https://gitlab.com/rgoncalves.se/infrastructure/infrastructure-scripts"
dest: /data/scripts
|