Skip to content
Snippets Groups Projects
Commit 632d3a8d authored by Jupiter Hu's avatar Jupiter Hu
Browse files

Fixed idps initialization

parent 227e1d07
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@
sudo: true
- name: install karaage3-wsgi.conf
template: src=kg-idps.j2 dest=/usr/bin/kg-idps
template: src=kg-idps.j2 dest=/usr/bin/kg-idps mode=755
sudo: true
-
name: "enabling Karaage configuration"
......@@ -138,6 +138,11 @@
sudo: true
when: karaage_db_init.stdout.find("0") == 0
-
name: "Create IDP institutes"
shell: kg-idps
sudo: true
- name: install postfix
apt: name=postfix state=present
sudo: true
......
#!/usr/bin/python
import os
import django
os.environ['DJANGO_SETTINGS_MODULE'] = "karaage.conf.settings"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment