Commit 4de745f9 authored by Georgios Ouzounis's avatar Georgios Ouzounis

Updated service-vm role.

parent 092b2f4c
- name: Install Django using Pip.
pip: name=Django
- name: Install Django connector for PostgreSQL.
pip: name=psycopg2
- 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 Python Pip.
- name: Install python-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
......@@ -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
Markdown is supported
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