We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f605747 commit 37f89aaCopy full SHA for 37f89aa
provision-contest/ansible/roles/domserver/tasks/main.yml
@@ -21,13 +21,13 @@
21
22
# When using replication, the DB will be dropped and recreated on the slave later.
23
- name: check if the database is configured
24
- command: "{{ DJ_DIR }}/bin/dj_setup_database -u root status"
+ command: "{{ DJ_DIR }}/bin/dj_setup_database -s -u root status"
25
register: db_status
26
ignore_errors: true
27
changed_when: false
28
29
- name: make sure the database is configured
30
- command: "{{ DJ_DIR }}/bin/dj_setup_database -u root bare-install"
+ command: "{{ DJ_DIR }}/bin/dj_setup_database -s -u root bare-install"
31
when: "'failed' in db_status.stdout"
32
33
- name: install required packages
0 commit comments