From f15b1c785ae4cbe061ccee173aa4dc0a89893b6a Mon Sep 17 00:00:00 2001 From: Elias Date: Tue, 20 Feb 2018 17:38:33 +0100 Subject: [PATCH] added missing packages : gettext and python-psycopg2, and fixed some README wording (#21998) --- README.rst | 9 +++++---- roles/base/tasks/main.yml | 4 +++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index f3acd27..e4a7909 100644 --- a/README.rst +++ b/README.rst @@ -15,12 +15,13 @@ Install dependencies .. code-block:: bash pip install --user -r requirements.txt + source ~/.profile System requirements +++++++++++++++++++ -* postgresql server must be installed +* postgresql server (version 9.x is adviced) must be installed * the system's user running the install.yml playbook must be a sudoer * configure postgresql in order to have this configuration: @@ -28,14 +29,14 @@ System requirements * postgresql must have a postgres user authorized to connect and create a db. * please edit /etc/postgresql/[INSTALLED VERSION]/main/pg_hba.conf and add these lines (if not present): +First line allows postgres user to have all privileges on locahost +Second line allows to have the system's user mapped to postgresql username and its own database with the same name + .. code-block:: configuration local all postgres trust local all all peer -First line allows postgres user to have all privileges on locahost -Second line allows to have the system's user mapped to postgresql username and its own database with the same name - Configure local DNS ------------------- diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 50ee114..c7fda57 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -14,6 +14,8 @@ - python-lasso - python-pip - python-virtualenv + - python-psycopg2 + - gettext - rabbitmq-server - ruby-sass - supervisor @@ -26,7 +28,7 @@ - name: create the virtualenv and install django pip: name: django - version: "{{ django_version}}" + version: "{{django_version}}" virtualenv: "{{venv}}" - name: "create {{src_dir}} directory" -- 2.16.1