I posted exact error message in my first mail for below step.

Does this step return an error? 

> - name: PostgreSQL | Install PostgreSQL 
>   apt: 
>     name:               "{{ item }}" 
>     state:              present 
>     update_cache:       true 
>   environment:          "{{ postgresql_env }}" 
>   when: repoadd.changed 
>   with_items: 
>     - "postgresql-common" 
>     - "postgresql-{{ postgresql_version }}" 
>     - "postgresql-client-{{ postgresql_version }}" 
>     - "postgresql-contrib-{{ postgresql_version }}"



Unable to install package as depends are not met. Technically i have added 
repository of postgresql 9.5, still i get dependencies not match with exact 
version number to proceed on installation.


Thanks
Shyam

On Sunday, January 29, 2017 at 11:19:31 AM UTC-5, Johannes Kastl wrote:
>
> On 29.01.17 16:05 Shyam Yenna wrote: 
>
> > - name: PostgreSQL | Make sure the dependencies are installed 
> >   apt: 
> >     name:               "{{ item }}" 
> >     state:              present 
> >     update_cache:       true 
> >   with_items:   ['python-psycopg2', 'python-pycurl', 'locales', 
> 'sysstat', 
> > 'libpq5'] 
>
> Does this step return an error? 
>
> > - name: PostgreSQL | Install PostgreSQL 
> >   apt: 
> >     name:               "{{ item }}" 
> >     state:              present 
> >     update_cache:       true 
> >   environment:          "{{ postgresql_env }}" 
> >   when: repoadd.changed 
> >   with_items: 
> >     - "postgresql-common" 
> >     - "postgresql-{{ postgresql_version }}" 
> >     - "postgresql-client-{{ postgresql_version }}" 
> >     - "postgresql-contrib-{{ postgresql_version }}" 
>
> What is the actual error message? 
>
> From your playbook it could be lots of things, from missing variables 
> to whatever. Hard to say. 
>
> Johannes 
>
>

-- 
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/625a3516-1316-497b-b2d6-a143177af313%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to