ansible/roles/base_config/tasks/main.yml
Jean-Marie Mineau af2f7d191a configur ssh
2021-04-15 16:04:35 +02:00

37 lines
638 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
state: latest
update_cache: true
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Upgrade all
apt:
update_cache: yes
upgrade: dist
- name: Customize motd
copy:
src: "update-motd.d/{{ item }}"
dest: "/etc/update-motd.d/{{ item }}"
mode: 0755
loop:
- 01-logo