Install psycopg2 on the DB servers

This commit is contained in:
Aurélien Bompard 2014-02-03 11:31:37 +00:00
parent 159115f3d3
commit b64262922c

View file

@ -54,7 +54,21 @@
- include: "{{ handlers }}/restart_services.yml"
#
# Database setup
#
- name: prepare setting up the database
hosts: db02.stg.phx2.fedoraproject.org:db01.phx2.fedoraproject.org
gather_facts: no
user: root
tasks:
- name: install psycopg2 for the postgresql ansible modules
yum: pkg=python-psycopg2 state=installed
tags:
- packages
- name: setup the database
hosts: db02.stg.phx2.fedoraproject.org:db01.phx2.fedoraproject.org
gather_facts: no