2016-03-26 17:06:06 +01:00
|
|
|
---
|
|
|
|
- name: Add postgres extensions to the databases, if needed
|
|
|
|
become: True
|
|
|
|
become_user: postgres
|
|
|
|
postgresql_ext: name={{ item.1 }} db={{ item.0.name }} port={{ psql_db_port }}
|
|
|
|
with_subelements:
|
|
|
|
- '{{ psql_db_data | default([]) }}'
|
|
|
|
- extensions
|
2016-10-28 15:36:24 +02:00
|
|
|
ignore_errors: True
|
2016-03-26 17:06:06 +01:00
|
|
|
tags: [ 'postgresql', 'postgres', 'pg_extensions' ]
|
|
|
|
|