Merge pull request #305 from noelmcloughlin/pkg

fix(jinja): syntax correction
This commit is contained in:
N
2020-12-04 14:44:55 +00:00
committed by GitHub

View File

@@ -62,7 +62,7 @@ RedHat:
gpgkey: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ release }}' gpgkey: 'https://download.postgresql.org/pub/repos/yum/RPM-GPG-KEY-PGDG-{{ release }}'
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch' baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'
{%- if grains.get('osmajorrelease') >= 7) %} {%- if grains.get('osmajorrelease') >= 7 %}
pkg_python: python3-psycopg2 pkg_python: python3-psycopg2
{%- endif %} {%- endif %}