From a9cb923ccb2846e6fe3ad202ac826a8b1ec7ecd9 Mon Sep 17 00:00:00 2001 From: rhamilton Date: Fri, 29 Aug 2025 12:39:47 +0000 Subject: [PATCH] Update playbooks/install-essential-tools.yml --- playbooks/install-essential-tools.yml | 36 ++++++++++++++++++--------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/playbooks/install-essential-tools.yml b/playbooks/install-essential-tools.yml index e03790b..e5d68a7 100644 --- a/playbooks/install-essential-tools.yml +++ b/playbooks/install-essential-tools.yml @@ -4,20 +4,32 @@ become: true vars: - essential_packages: - - curl - - git - - jq - - htop - - unzip - - ca-certificates - - net-tools - - acl - - fzf + # Base tools required everywhere + base_packages: + - curl # used for API calls, downloads + - git # version control / pulling repos + - ca-certificates # ensures HTTPS works + - iproute2 # modern networking tools (ip a, ip r) + + # Extra tools for troubleshooting / convenience + extra_packages: + - jq # parse JSON (docker inspect, APIs) + - htop # friendlier process viewer + - unzip # handle .zip archives + - dnsutils # dig, nslookup + - fzf # fuzzy finder + - tree # visualize directories + - bat # cat with syntax highlighting + - net-tools # old ifconfig, netstat (legacy but familiar) tasks: - - name: Install common tools + - name: Install base tools apt: - name: "{{ essential_packages }}" + name: "{{ base_packages }}" state: present update_cache: yes + + - name: Install extra tools + apt: + name: "{{ extra_packages }}" + state: present