Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Issue #146: Fix condition for PostgreSQL database configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Oct 1, 2016
1 parent 48c1b04 commit 68316e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provisioning/tasks/install-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# See: https://www.drupal.org/node/2569365#comment-11680807
- name: Configure database correctly if using PostgreSQL.
command: psql -c "ALTER DATABASE {{ drupal_db_name }} SET bytea_output = 'escape';"
when: "'Successful' not in drupal_site_installed.stdout"
when: "('Successful' not in drupal_site_installed.stdout) and (drupalvm_database == 'pgsql')"
become: yes
become_user: "{{ postgresql_user }}"
# See: https://github.com/ansible/ansible/issues/16048#issuecomment-229012509
Expand Down

0 comments on commit 68316e0

Please sign in to comment.