Commit 0099d1a1 authored by Chris Schleiermacher's avatar Chris Schleiermacher
Browse files

updated

parent 81e6793b
......@@ -74,6 +74,7 @@
mode: "u=rw,g=rw,o=r"
- name: run manage.py makemigrations
become_user: envri
django_manage:
command: makemigrations
virtualenv: "{{ virtualenv }}"
......@@ -81,6 +82,7 @@
when: pull_git_branch is changed
- name: run manage.py migrate
become_user: envri
django_manage:
command: migrate
virtualenv: "{{ virtualenv }}"
......@@ -89,7 +91,8 @@
- name: run manage.py loaddata sparqluser
django_manage:
command: loaddata sparqluser
command: loaddata
fixtures: sparqluser
virtualenv: "{{ virtualenv }}"
project_path: "{{ repo_dir }}/django_application"
when: pull_git_branch is changed
......@@ -100,16 +103,17 @@
virtualenv: "{{ virtualenv }}"
project_path: "{{ repo_dir }}/django_application"
notify: restart apache
when: pull_git_branch is changed
- name: run manage.py get_catalog_of_services --update_catalog --update_endpoints --purge
- name: run manage.py get_keywords
django_manage:
command: get_catalog_of_services --update_catalog --update_endpoints --purge
command: get_keywords
virtualenv: "{{ virtualenv }}"
project_path: "{{ repo_dir }}/django_application"
- name: run manage.py get_keywords
- name: run manage.py get_catalog_of_services --update_catalog --update_endpoints --purge
django_manage:
command: get_keywords
command: get_catalog_of_services --update_catalog --update_endpoints --purge
virtualenv: "{{ virtualenv }}"
project_path: "{{ repo_dir }}/django_application"
......@@ -127,9 +131,10 @@
target: get_ttl_files
- name: restart sparql server
become_user: envri
shell:
chdir: "{{ repo_dir }}/sparql"
cmd: "./run_server_nohup.sh {{ virtualenv }}"
cmd: "./restart_server_nohup.sh {{ virtualenv }}"
- name: restart apache
command: echo "this task will restart apache"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment