ansible/roles/base_config/tasks/main.yml

33 lines
570 B
YAML
Raw Permalink Normal View History

2020-10-12 09:59:51 +02:00
---
- name: Install and update basic tools
apt:
name:
- sudo
- vim
- htop
2021-01-24 19:48:55 +01:00
- ntp # network time sync
2020-10-12 09:59:51 +02:00
- bash-completion
- less
- screen
- git
2021-01-24 18:46:31 +01:00
- curl
2020-10-13 09:43:14 +02:00
- python3-pip # Because I like python
2021-01-24 19:48:55 +01:00
- tree
2021-01-25 23:11:21 +01:00
- unzip
2021-01-26 18:49:46 +01:00
- tcpdump
2021-02-07 21:40:36 +01:00
- net-tools
2020-10-12 09:59:51 +02:00
state: latest
2021-04-15 16:03:35 +02:00
update_cache: true
2020-10-12 09:59:51 +02:00
register: apt_result
retries: 3
until: apt_result is succeeded
2020-10-12 10:59:53 +02:00
- name: Customize motd
copy:
src: "update-motd.d/{{ item }}"
dest: "/etc/update-motd.d/{{ item }}"
mode: 0755
loop:
- 01-logo