使用postgres在ubuntu14.04上安装postgres 9.4时,我会得到以下错误
There are problems and -y was used without --force-yes我的任务是:
---
- name: Add postgres repository
apt_repository: repo='deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main' state=present
- name: ensure apt cache is up to date
apt: update_cache=yes
- name: ensure packages are installed
apt: name={{item}}
with_items:
- postgresql-9.4这个怎么修好的?
发布于 2015-10-07 17:02:19
您必须添加存储库密钥。添加回购后,添加以下步骤:
- name: Add postgres repo key
apt_key: url=https://www.postgresql.org/media/keys/ACCC4CF8.asc state=presenthttps://stackoverflow.com/questions/32998252
复制相似问题