Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gomes, Ana Rita
ansible-envrihub
Commits
0099d1a1
Commit
0099d1a1
authored
Nov 25, 2022
by
Chris Schleiermacher
Browse files
updated
parent
81e6793b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ansible/deploy_strato.yaml
View file @
0099d1a1
...
...
@@ -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
:
"
./r
un
_server_nohup.sh
{{
virtualenv
}}"
cmd
:
"
./r
estart
_server_nohup.sh
{{
virtualenv
}}"
-
name
:
restart apache
command
:
echo "this task will restart apache"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment