Add base packages
This commit is contained in:
parent
d0d2d6668e
commit
aaee2b443d
4 changed files with 18 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- ntp
|
- base
|
||||||
|
|
||||||
- hosts: casey
|
- hosts: casey
|
||||||
roles:
|
roles:
|
||||||
|
|
5
ansible/roles/base/tasks/main.yml
Normal file
5
ansible/roles/base/tasks/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
- name: NTP
|
||||||
|
include: ntp.yml
|
||||||
|
|
||||||
|
- name: Packages
|
||||||
|
include: packages.yml
|
12
ansible/roles/base/tasks/packages.yml
Normal file
12
ansible/roles/base/tasks/packages.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
- name: "Install Base Packages"
|
||||||
|
apt:
|
||||||
|
name: "{{ item }}"
|
||||||
|
become: true
|
||||||
|
become_user: root
|
||||||
|
loop:
|
||||||
|
- htop
|
||||||
|
- neofetch
|
||||||
|
- net-tools
|
||||||
|
- speedtest-cli
|
||||||
|
- sudo
|
||||||
|
- vim
|
Loading…
Reference in a new issue