diff --git a/roles/postgresql_server/templates/postgresql.conf b/roles/postgresql_server/templates/postgresql.conf index 5f9314c62e..603f9ea610 100644 --- a/roles/postgresql_server/templates/postgresql.conf +++ b/roles/postgresql_server/templates/postgresql.conf @@ -1,4 +1,4 @@ -{% if ansible_hostname.startswith("db-fas01") %} +{% if ansible_hostname.startswith("db-fas01") or ansible_hostname.startswith("db01") %} # This enabled pg-8 compatibility for bytea fields # Fixes errors with sqlalchemy with binary data when app is on RHEL6 and server is PG9 # Reference: https://bitbucket.org/zzzeek/sqlalchemy/issue/2016/pickletype-does-not-work-with-postgresql