[TIDY] Refactor apt commands
This commit is contained in:
parent
f380e0ba29
commit
f3ab61b8ff
|
@ -75,11 +75,9 @@
|
||||||
- name: Devel - Golang - Install developer tools
|
- name: Devel - Golang - Install developer tools
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ packages }}"
|
name:
|
||||||
state: present
|
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- golang
|
- golang
|
||||||
|
state: present
|
||||||
diff: false
|
diff: false
|
||||||
|
|
||||||
# Dev Env - LaTeX Distribution
|
# Dev Env - LaTeX Distribution
|
||||||
|
|
|
@ -4,11 +4,7 @@
|
||||||
- name: Essentials - Install essential utilities
|
- name: Essentials - Install essential utilities
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ packages }}"
|
name:
|
||||||
state: present
|
|
||||||
update_cache: true
|
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- git
|
- git
|
||||||
- curl
|
- curl
|
||||||
- wget
|
- wget
|
||||||
|
@ -16,4 +12,6 @@
|
||||||
- vim
|
- vim
|
||||||
- tmux
|
- tmux
|
||||||
- python3-pip
|
- python3-pip
|
||||||
|
state: present
|
||||||
|
update_cache: true
|
||||||
diff: false
|
diff: false
|
||||||
|
|
|
@ -5,12 +5,10 @@
|
||||||
- name: Tools - Install basic utilities
|
- name: Tools - Install basic utilities
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ packages }}"
|
name:
|
||||||
state: present
|
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- rsync
|
- rsync
|
||||||
- dnsutils
|
- dnsutils
|
||||||
- htop
|
- htop
|
||||||
- unzip
|
- unzip
|
||||||
|
state: present
|
||||||
diff: false
|
diff: false
|
||||||
|
|
|
@ -4,13 +4,11 @@
|
||||||
- name: Usertools - Install user's working utilities
|
- name: Usertools - Install user's working utilities
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ packages }}"
|
name:
|
||||||
state: present
|
|
||||||
vars:
|
|
||||||
packages:
|
|
||||||
- nmap
|
- nmap
|
||||||
- rsync
|
- rsync
|
||||||
- icdiff
|
- icdiff
|
||||||
- iftop
|
- iftop
|
||||||
- ansible
|
- ansible
|
||||||
|
state: present
|
||||||
diff: false
|
diff: false
|
||||||
|
|
Loading…
Reference in a new issue