I wanted to do some testing but did not find time for it. Only thing to mention so far I tested installation on newest postgresql scl and it works fine. Reason for this are expected performance improvements by getting rid of the very old default version.
Forklift configuration for this was:
centos7-foreman-1.18-psql10:
box: centos7
ansible:
playbook: playbooks/foreman.yml
variables:
foreman_repositories_version: 1.18
puppet_repositories_version: 5
selinux_state: permissive
foreman_installer_custom_hiera: |
postgresql::globals::version: '10'
postgresql::globals::client_package_name: rh-postgresql10-postgresql-syspaths
postgresql::globals::server_package_name: rh-postgresql10-postgresql-server-syspaths
postgresql::globals::contrib_package_name: rh-postgresql10-postgresql-contrib-syspaths
postgresql::globals::service_name: postgresql
postgresql::globals::datadir: /var/opt/rh/rh-postgresql10/lib/pgsql/data
postgresql::globals::confdir: /var/opt/rh/rh-postgresql10/lib/pgsql/data
postgresql::globals::bindir: /usr/bin