Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
b2c5aacd
Commit
b2c5aacd
authored
7 years ago
by
Hervé MENAGER
Browse files
Options
Downloads
Patches
Plain Diff
create or update schema for the db on ansible deployment
Former-commit-id: 1d6b183e033698e06ceff44e08e8d843e7257f35
parent
3a1fd078
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/deploy.yaml
+5
-0
5 additions, 0 deletions
ansible/deploy.yaml
with
5 additions
and
0 deletions
ansible/deploy.yaml
+
5
−
0
View file @
b2c5aacd
...
...
@@ -75,6 +75,11 @@
django_manage
:
command
:
"
runmodwsgi
--setup-only
--port=80
--user
ippidb
--group
wheel
--server-root=/etc/ippidb-80"
app_path
:
"
/home/{{
deploy_user_name
}}/iPPIDB/ippisite"
-
name
:
create or update database
become_user
:
"
{{
deploy_user_name
}}"
django_manage
:
command
:
"
migrate"
app_path
:
"
/home/{{
deploy_user_name
}}/iPPIDB/ippisite"
# FIXME: this should obviously be removed before switching to prod. env.
-
name
:
restrict access to the web server to specific IPs
lineinfile
:
dest=/etc/ippidb-80/httpd.conf
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment