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/295e1496-a097-272f-4fa2-402b78993051%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to