Answer the question
In order to leave comments, you need to log in
How to create a database for PostgreSQL with ru_RU.UTF-8 encoding using Ansible?
As far as I know, in order to create a database with ru_RU.UTF-8 encoding, you need to re-create the cluster with the appropriate encoding (otherwise there will be an error like "Database query failed: invalid locale name"). But when you delete an existing cluster, the data will also be deleted. How to make it so that when the corresponding playbook is launched, this happens only when the encoding is not ru_RU.UTF-8 (so that the data base is not deleted)?
Ps Please understand and forgive me, I'm doing this for the first time))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question