ansible-personal/roles/common/tasks/packages_Debian.yml
Alan Orth 8851f8f631 Revert "Only update packages indexes if the cache is 1 hour old"
This reverts commit 201165cff6.

Turns out this actually breaks initial deployments, because the
cache gets updated in the first task, then you add sources for
nginx and mariadb, but it doesn't update the indexes because the
cache is < 3600 seconds old, so you end up getting the distro's
versions of nginx and mariadb.
2016-08-25 12:58:15 +03:00

27 lines
522 B
YAML

---
- name: Configure apt mirror
template: src=sources.list.j2 dest=/etc/apt/sources.list owner=root group=root mode=0644
- name: Install base packages
apt: name={{ item }} update_cache=yes
with_items:
- git
- tmux
- iotop
- htop
- strace
- cron-apt #how does this work with systemd?
- safe-rm
- debian-goodies
- mosh
- python-pycurl # for ansible's apt_repository
- lzop
- vim
- lrzip
- unzip
- include: cron-apt.yml
tags: cron-apt
# vim: set sw=2 ts=2: