Only run db creation on the primary nodes so that we dont get race conditions
This commit is contained in:
parent
a0a41c33a8
commit
51a4bc5498
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
|||
when: env == "staging"
|
||||
|
||||
- name: create the database scheme
|
||||
hosts: fedoauth01.phx2.fedoraproject.org:fedoauth01.stg.phx2.fedoraproject.org
|
||||
command: /usr/bin/python2 /usr/share/fedoauth/createdb.py
|
||||
environment:
|
||||
FEDOAUTH_CONFIG: /etc/fedoauth/fedoauth.cfg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue