fix(jinja): syntax correction

This commit is contained in:
noelmcloughlin
2020-12-04 14:04:56 +00:00
parent d6d1068395
commit 8b44c068fc

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 %}