On 30 January 2017 at 22:31, Shyam Yenna <
write...@gmail.com> wrote:
> Thanks for all replies...
>
> I understood clearly error.
>
> My point here is to get a workaround solution to install postgresql 9.5
> repository on ubuntu 14.04 LTS. As PostgreSQL repository package is not
> providing depend packages in repository and i am unsuccessful in installing
> packages like postgresql-common >=158 & libpq5 >=9.5.5 on Ubuntu 14.04 LTS.
I just tried your playbook on an existing Ubuntu 14.04 host. You
didn't supply any vars so I made an estimate guess:
vars:
postgresql_apt_key_id: ACCC4CF8
postgresql_apt_key_url:
https://www.postgresql.org/media/keys/ACCC4CF8.asc
postgresql_apt_repository: deb
http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main
postgresql_version: "9.5"
The only thing I had no clue about was the template tasks with
"pgdg.pref.j2" so I left that out.
After remove a few 'when' statements it worked a treat, all
dependencies got installed without a problem.
You might need to revise the conditionals in your playbook - I think
there are a bit too many of them.
Dick
--
Dick Visser
Sr. System & Network Engineer
GÉANT
Want to join us? We're hiring:
https://www.geant.org/jobs