mirror of
https://github.com/geerlingguy/ansible-role-postgresql.git
synced 2025-03-03 16:17:10 -05:00
Fix CI on Fedora 30 containers again
By not causing the /usr/bin/python symlink to be installed Otherwise, Ansible molecule converge would use python2, which lacks python2-dnf.
This commit is contained in:
parent
185f7bac33
commit
2fbc87cd1f
1 changed files with 6 additions and 2 deletions
|
@ -1,12 +1,16 @@
|
|||
---
|
||||
- name: Ensure PostgreSQL packages are installed.
|
||||
package:
|
||||
yum:
|
||||
name: "{{ postgresql_packages }}"
|
||||
state: present
|
||||
enablerepo: "{{ postgresql_enablerepo | default(omit, true) }}"
|
||||
# Don't let postgresql-contrib cause the /usr/bin/python symlink
|
||||
# to be installed, which breaks later Ansible runs on Fedora 30,
|
||||
# and affects system behavior in multiple ways.
|
||||
exclude: python-unversioned-command
|
||||
|
||||
- name: Ensure PostgreSQL Python libraries are installed.
|
||||
package:
|
||||
yum:
|
||||
name: "{{ postgresql_python_library }}"
|
||||
state: present
|
||||
enablerepo: "{{ postgresql_enablerepo | default(omit, true) }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue