diff --git a/roles/internal/Islandora-Devops.fcrepo/tasks/install.yml b/roles/internal/Islandora-Devops.fcrepo/tasks/install.yml index 34a6cec5..cb5179da 100644 --- a/roles/internal/Islandora-Devops.fcrepo/tasks/install.yml +++ b/roles/internal/Islandora-Devops.fcrepo/tasks/install.yml @@ -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