[TIDY] Refactor apt commands
This commit is contained in:
parent
f380e0ba29
commit
f3ab61b8ff
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue