Commit 69a166d2 authored by Юрий Дегтярёв's avatar Юрий Дегтярёв
Browse files

change type variable postgres_version for RedHat family

parent 7a6127e8
Pipeline #36271 passed with stages
in 50 minutes and 6 seconds
......@@ -862,7 +862,7 @@ all:
postgres_power: master
postgres_replicator_password: noc
postgres_superuser_password: noc
postgres_version: 14
postgres_version: "14"
required_assets:
- web
- mib
......
......@@ -863,7 +863,7 @@ all:
postgres_power: master
postgres_replicator_password: noc
postgres_superuser_password: noc
postgres_version: 14
postgres_version: "14"
required_assets:
- web
- mib
......
......@@ -18,7 +18,7 @@
- requirements
- name: PostgreSQL init db
command: '{{ postgres_bin_dir }}/postgresql{% if postgres_version == 14 %}-{% endif %}{{ postgres_version|replace(".","") }}-setup initdb'
command: '{{ postgres_bin_dir }}/postgresql{% if postgres_version == "14" %}-{% endif %}{{ postgres_version|replace(".","") }}-setup initdb'
args:
creates: /var/lib/pgsql/{{ postgres_version }}/initdb.log
......
......@@ -18,7 +18,7 @@
- requirements
- name: PostgreSQL init db
command: '{{ postgres_bin_dir }}/postgresql{{ postgres_version|replace(".","") }}-setup initdb'
command: '{{ postgres_bin_dir }}/postgresql{% if postgres_version == "14" %}-{% endif %}{{ postgres_version|replace(".","") }}-setup initdb'
args:
creates: /var/lib/pgsql/{{ postgres_version }}/initdb.log
......
......@@ -18,7 +18,7 @@
- requirements
- name: PostgreSQL init db
command: '{{ postgres_bin_dir }}/postgresql{{ postgres_version|replace(".","") }}-setup initdb'
command: '{{ postgres_bin_dir }}/postgresql{% if postgres_version == "14" %}-{% endif %}{{ postgres_version|replace(".","") }}-setup initdb'
args:
creates: /var/lib/pgsql/{{ postgres_version }}/initdb.log
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment