On 30 January 2017 at 22:31, Shyam Yenna <[email protected]> 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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEQQDN%3DGjOkQwL3AdadHnURFASszQLjwu_EpHuSHrMbUo0gwNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to