Update playbooks/install-essential-tools.yml
This commit is contained in:
@@ -4,20 +4,32 @@
|
|||||||
become: true
|
become: true
|
||||||
|
|
||||||
vars:
|
vars:
|
||||||
essential_packages:
|
# Base tools required everywhere
|
||||||
- curl
|
base_packages:
|
||||||
- git
|
- curl # used for API calls, downloads
|
||||||
- jq
|
- git # version control / pulling repos
|
||||||
- htop
|
- ca-certificates # ensures HTTPS works
|
||||||
- unzip
|
- iproute2 # modern networking tools (ip a, ip r)
|
||||||
- ca-certificates
|
|
||||||
- net-tools
|
# Extra tools for troubleshooting / convenience
|
||||||
- acl
|
extra_packages:
|
||||||
- fzf
|
- 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:
|
tasks:
|
||||||
- name: Install common tools
|
- name: Install base tools
|
||||||
apt:
|
apt:
|
||||||
name: "{{ essential_packages }}"
|
name: "{{ base_packages }}"
|
||||||
state: present
|
state: present
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
|
- name: Install extra tools
|
||||||
|
apt:
|
||||||
|
name: "{{ extra_packages }}"
|
||||||
|
state: present
|
||||||
|
Reference in New Issue
Block a user