You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/roles/base_config/tasks/main.yml

34 lines
582 B
YAML

---
- name: Install and update basic tools
apt:
name:
- sudo
- vim
- htop
- ntp # network time sync
- bash-completion
- less
- screen
- git
- curl
- python3-pip # Because I like python
- tree
- unzip
- tcpdump
- net-tools
- acl
state: latest
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Customize motd
copy:
src: "update-motd.d/{{ item }}"
dest: "/etc/update-motd.d/{{ item }}"
mode: 0755
loop:
- 01-logo