2015-07-24 18:52:54 +02:00
|
|
|
---
|
|
|
|
|
2018-04-26 15:58:35 +02:00
|
|
|
- block:
|
|
|
|
- name: Configure apt mirror
|
|
|
|
template: src=sources.list.j2 dest=/etc/apt/sources.list owner=root group=root mode=0644
|
2021-07-24 21:32:00 +02:00
|
|
|
when: ansible_architecture != 'armv7l'
|
2018-04-26 15:58:35 +02:00
|
|
|
|
2019-07-06 20:31:59 +02:00
|
|
|
- name: Set fact for base packages
|
|
|
|
set_fact:
|
|
|
|
base_packages:
|
|
|
|
- git
|
2021-09-07 16:51:33 +02:00
|
|
|
- git-lfs
|
2019-07-06 20:31:59 +02:00
|
|
|
- tmux
|
|
|
|
- iotop
|
|
|
|
- htop
|
|
|
|
- strace
|
2019-07-06 20:36:04 +02:00
|
|
|
- cron-apt
|
2019-07-06 20:31:59 +02:00
|
|
|
- safe-rm
|
|
|
|
- debian-goodies
|
|
|
|
- mosh
|
|
|
|
- python3-pycurl # for ansible's apt_repository
|
|
|
|
- vim
|
|
|
|
- unzip
|
|
|
|
- apt-transport-https # for https support in apt
|
2019-07-06 20:44:41 +02:00
|
|
|
- gnupg2
|
2019-09-14 19:36:40 +02:00
|
|
|
- zstd
|
2019-07-06 20:31:59 +02:00
|
|
|
|
2018-04-26 15:58:35 +02:00
|
|
|
- name: Install base packages
|
2021-09-08 20:59:51 +02:00
|
|
|
apt: name={{ base_packages }} state=present cache_valid_time=3600
|
2015-07-24 18:52:54 +02:00
|
|
|
|
2018-04-26 15:58:35 +02:00
|
|
|
- name: Configure cron-apt
|
|
|
|
import_tasks: cron-apt.yml
|
|
|
|
tags: cron-apt
|
2015-07-24 18:52:54 +02:00
|
|
|
|
2018-04-26 15:58:35 +02:00
|
|
|
- name: Install tarsnap
|
|
|
|
import_tasks: tarsnap.yml
|
2018-04-25 17:46:28 +02:00
|
|
|
tags: packages
|
2017-02-07 16:28:35 +01:00
|
|
|
|
2015-07-24 18:52:54 +02:00
|
|
|
# vim: set sw=2 ts=2:
|