v0.1
This commit is contained in:
26
playbooks/roles/base-tools/tasks/main.yml
Normal file
26
playbooks/roles/base-tools/tasks/main.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
# tasks file for base-tools
|
||||
- name: Update packages
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
cache_valid_time: 360
|
||||
|
||||
- name: Install essential packages
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- sudo
|
||||
- fail2ban
|
||||
- nano
|
||||
- tree
|
||||
state: present
|
||||
|
||||
- name: Ensure python3 and pip3 are installed
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- python3
|
||||
- python3-pip
|
||||
state: present
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user