Skip to content

Commit

Permalink
roles/postgres: Remove cache expiry time checks
Browse files Browse the repository at this point in the history
After adding a new apt lists file, I think its a good idea to ignore
cache expiry times so that we can get packages from the new apt list.

Signed-off-by: James Oguya <oguyajames@gmail.com>
  • Loading branch information
oguya committed Jul 17, 2015
1 parent d26b918 commit 747ff97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/postgresql/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
apt_key: url="https://www.postgresql.org/media/keys/ACCC4CF8.asc" state=present

- name: Install postgresql
apt: name={{ item }} update_cache=yes state=present cache_valid_time=3600
apt: name={{ item }} update_cache=yes state=present
with_items:
- python-psycopg2
- postgresql-{{ pg_version }}
Expand Down

0 comments on commit 747ff97

Please sign in to comment.