add missing quotes

This commit is contained in:
Robert Kaussow 2018-10-14 23:39:55 +02:00
parent aa87e9d842
commit 920dd51309
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
--- ---
postgres_repository_enabled: False postgres_repository_enabled: False
postgres_version: 10 postgres_version: 10
postgres_repository_filename: Postgresql-{{ postgres_version }} postgres_repository_filename: "Postgresql-{{ postgres_version | regex_replace('\.') }}"

View File

@ -3,7 +3,7 @@
- name: Add PostgreSQL repository - name: Add PostgreSQL repository
yum_repository: yum_repository:
name: postgresql name: postgresql
file: {{ postgres_repository_filename }} file: "{{ postgres_repository_filename }}"
description: PostgreSQL yum repository description: PostgreSQL yum repository
baseurl: "https://download.postgresql.org/pub/repos/yum/{{ postgres_version }}/redhat/rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}" baseurl: "https://download.postgresql.org/pub/repos/yum/{{ postgres_version }}/redhat/rhel-{{ ansible_distribution_major_version }}-{{ ansible_architecture }}"
gpgcheck: yes gpgcheck: yes