Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
itminedu
okeanos-LoD
Commits
4de745f9
Commit
4de745f9
authored
Jul 28, 2015
by
Georgios Ouzounis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated service-vm role.
parent
092b2f4c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
webapp/ansible/roles/service-vm/tasks/django-install.yml
webapp/ansible/roles/service-vm/tasks/django-install.yml
+0
-3
webapp/ansible/roles/service-vm/tasks/main.yml
webapp/ansible/roles/service-vm/tasks/main.yml
+10
-1
webapp/ansible/roles/service-vm/tasks/postgresql-install.yml
webapp/ansible/roles/service-vm/tasks/postgresql-install.yml
+4
-1
No files found.
webapp/ansible/roles/service-vm/tasks/django-install.yml
View file @
4de745f9
---
-
name
:
Install Django using Pip.
pip
:
name=Django
-
name
:
Install Django connector for PostgreSQL.
pip
:
name=psycopg2
webapp/ansible/roles/service-vm/tasks/main.yml
View file @
4de745f9
---
-
name
:
Fix Debian locale error.
shell
:
echo 'LANGUAGE="en_US.UTF-8"' > /etc/default/locale && echo 'LC_ALL="en_US.UTF-8"' >> /etc/default/locale
# The first redirection intentionally creates the file.
-
name
:
Upgrade packages.
apt
:
upgrade=dist update_cache=yes
-
name
:
Install
P
ython
Pip
.
-
name
:
Install
p
ython
-pip package
.
apt
:
name=python-pip state=latest
-
name
:
Install python-dev package.
apt
:
name=python-dev state=latest
-
name
:
Install git.
apt
:
name=git state=latest
-
name
:
Include postgresql-install tasks.
include
:
postgresql-install.yml
...
...
webapp/ansible/roles/service-vm/tasks/postgresql-install.yml
View file @
4de745f9
...
...
@@ -2,5 +2,8 @@
-
name
:
Install PosgreSQL.
apt
:
name=postgresql state=latest
-
name
:
Install
PostgreSQL header files
.
-
name
:
Install
libpq-dev
.
apt
:
name=libpq-dev state=latest
-
name
:
Install Python connector for PostgreSQL.
pip
:
name=psycopg2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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