ansible-postgresql-sr-on-el6
ansible-postgresql-sr-on-el6 copied to clipboard
apt cache update is required
I got below error in "install postgresql package" on ubuntu 12.04, newer version of this package is available but apt cache has old version cached.
http://security.ubuntu.com/ubuntu/pool/main/p/postgresql-9.3/postgresql-client-9.3_9.3.10-0ubuntu0.14.04_amd64.deb 404 Not Found
I added apt cache update in tasks/install_deb.yml, i think you need to update same in your code and probably similar to yum cache update also if that is required.
- name : Update apt cache
apt: update_cache=yes cache_valid_time=3600