Require psycopg2.
This commit is contained in:
parent
a43e0c891f
commit
baf1e126a4
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue