aboutsummaryrefslogtreecommitdiffstats
path: root/roles/tools/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/tools/tasks')
-rw-r--r--roles/tools/tasks/main.yml29
1 files changed, 8 insertions, 21 deletions
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml
index fae66c6..5e8dada 100644
--- a/roles/tools/tasks/main.yml
+++ b/roles/tools/tasks/main.yml
@@ -7,37 +7,24 @@
- set_fact:
packages: "{{ packages[ansible_distribution | lower] }}"
-- name: install sysadmin tools
- package: state=present name="{{ item }}"
- loop:
- - tmux
- - htop
- - "{{ ansible_become_method }}"
- #failed_when: false
- ignore_errors: true
-
- name: install per distribution correspond tools
package: state=present name="{{ item }}"
loop:
- - "{{ packages.neovim }}"
- "{{ packages.sshfs }}"
- "{{ packages.wireguard }}"
- "{{ packages.extra if packages.extra is defined }}"
ignore_errors: true
-- name: install misc utils
- package: state=present name="{{ item }}"
+
+- name: install global utils
+ package: name="{{ item }}" state=present
loop:
- - figlet
- curl
- - wget
+ - figlet
- git
+ - htop
+ - neovim
+ - tmux
+ - wget
- zsh
- #failed_when: false
ignore_errors: true
-
-- name: install scripts repository
- git:
- repo: "https://gitlab.com/rgoncalves.se/infrastructure/infrastructure-scripts"
- dest: /data/scripts
- force: true
remember that computers suck.