Skip to content

Commit 37f89aa

Browse files
committed
Ubuntu2204 needs the socket option
1 parent f605747 commit 37f89aa

File tree

1 file changed

+2
-2
lines changed
  • provision-contest/ansible/roles/domserver/tasks

1 file changed

+2
-2
lines changed

provision-contest/ansible/roles/domserver/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121

2222
# When using replication, the DB will be dropped and recreated on the slave later.
2323
- name: check if the database is configured
24-
command: "{{ DJ_DIR }}/bin/dj_setup_database -u root status"
24+
command: "{{ DJ_DIR }}/bin/dj_setup_database -s -u root status"
2525
register: db_status
2626
ignore_errors: true
2727
changed_when: false
2828

2929
- name: make sure the database is configured
30-
command: "{{ DJ_DIR }}/bin/dj_setup_database -u root bare-install"
30+
command: "{{ DJ_DIR }}/bin/dj_setup_database -s -u root bare-install"
3131
when: "'failed' in db_status.stdout"
3232

3333
- name: install required packages

0 commit comments

Comments
 (0)