Require psycopg2.

This commit is contained in:
Ralph Bean 2017-05-02 15:48:15 +00:00
parent a43e0c891f
commit baf1e126a4
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,7 @@
with_items:
- waiverdb
- gunicorn
- python-psycopg2
notify:
- restart waiverdb
when: ansible_distribution_major_version|int < 22
@ -15,6 +16,7 @@
with_items:
- waiverdb
- gunicorn
- python-psycopg2
notify:
- restart waiverdb
when: ansible_distribution_major_version|int > 21

View file

@ -3,6 +3,7 @@
with_items:
- "postgresql-server"
- "postgresql-contrib"
- "python-psycopg2"
when: ansible_distribution_major_version|int < 22
- name: install postresql (dnf)
@ -10,6 +11,7 @@
with_items:
- "postgresql-server"
- "postgresql-contrib"
- "python-psycopg2"
when: ansible_distribution_major_version|int > 21
- name: See if postgreSQL is installed