Install psycopg2 on the DB servers
This commit is contained in:
parent
159115f3d3
commit
b64262922c
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue