ansible/roles/base_config/tasks/main.yml

28 lines
476 B
YAML
Raw Normal View History

2020-10-12 09:59:51 +02:00
---
- name: Install and update basic tools
apt:
update_cache: true
name:
- sudo
- vim
- htop
- ntp
- bash-completion
- less
- screen
- git
2020-10-13 09:43:14 +02:00
- python3-pip # Because I like python
2020-10-12 09:59:51 +02:00
state: latest
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