[TIDY] Refactor apt commands

This commit is contained in:
Jannik Beyerstedt 2023-07-03 10:17:52 +02:00
parent f380e0ba29
commit f3ab61b8ff
4 changed files with 9 additions and 17 deletions

View file

@ -75,11 +75,9 @@
- name: Devel - Golang - Install developer tools
become: true
ansible.builtin.apt:
name: "{{ packages }}"
state: present
vars:
packages:
name:
- golang
state: present
diff: false
# Dev Env - LaTeX Distribution

View file

@ -4,11 +4,7 @@
- name: Essentials - Install essential utilities
become: true
ansible.builtin.apt:
name: "{{ packages }}"
state: present
update_cache: true
vars:
packages:
name:
- git
- curl
- wget
@ -16,4 +12,6 @@
- vim
- tmux
- python3-pip
state: present
update_cache: true
diff: false

View file

@ -5,12 +5,10 @@
- name: Tools - Install basic utilities
become: true
ansible.builtin.apt:
name: "{{ packages }}"
state: present
vars:
packages:
name:
- rsync
- dnsutils
- htop
- unzip
state: present
diff: false

View file

@ -4,13 +4,11 @@
- name: Usertools - Install user's working utilities
become: true
ansible.builtin.apt:
name: "{{ packages }}"
state: present
vars:
packages:
name:
- nmap
- rsync
- icdiff
- iftop
- ansible
state: present
diff: false