Skip to content

Commit

Permalink
Islandora-Devops#268 python3-pgsopg2 conflicts with python3-mysqlclie…
Browse files Browse the repository at this point in the history
…nt - need to split the installation of packages out depending upon islandora_db variable as well.
  • Loading branch information
bdgregg committed Oct 5, 2023
1 parent 4014116 commit 6ff5b9a
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions roles/internal/Islandora-Devops.fcrepo/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,20 @@
when: ansible_os_family == "Debian"
become: true

- name: Install python dependencies
- name: Install python dependencies PostgreSQL
yum:
name:
- python-psycopg2
- MySQL-python
- mysql
- python3-psycopg2
- postgresql
state: present
when: "ansible_os_family == 'RedHat' and islandora_db == 'pgsql'"
become: true

- name: Install python dependencies MySQL/MariaDB
yum:
name:
- python3-mysqlclient
- mariadb
state: present
when: ansible_os_family == "RedHat"
when: "ansible_os_family == 'RedHat' and islandora_db == 'mysql'"
become: true

0 comments on commit 6ff5b9a

Please sign in to comment.