diff --git a/ckan/ckan/tasks/ckan.yml b/ckan/ckan/tasks/ckan.yml index 4f9952b5..84ead592 100644 --- a/ckan/ckan/tasks/ckan.yml +++ b/ckan/ckan/tasks/ckan.yml @@ -29,7 +29,7 @@ - name: authorization file for the psql command, if the database is on a remote server template: src=pgpass.j2 dest=/root/.pgpass owner=root mode=0600 - when: "'{{ psql_db_host }}' != 'localhost'" + when: psql_db_host != 'localhost' tags: [ 'pg_backup', 'postgresql', 'postgres' ] - name: Initialize the CKAN databases