zzet/ansible-postgresql-role — pull request #4 by mtpereira (2014-01-28 16:38:23+00:00)
Title: Debian repos

Update cache to install python-pycurl.

tasks/main.yml:
- Update cache if it's older than one hour to avoid getting errors on
hosts where the cache has not been updated recently (e.g., Vagrant
boxes).

Fix add repository for other Debian/Ubuntu.

tasks/debian.yml:
- Now using ansible_lsb.codename to get Debian/Ubuntu version name;
- Using apt_repository to add repo;
- Using apt_key to add repo key.