Comments (5)
В случае с postgresql_exists='true' также будет работать. При старте сервиса Patroni, пропишет pg_ident.
Раз уж такой функционал имеется, значит нам нужно меньше кода, шаблонов и т.п.
Лишь генерация строки в файле конфигурации.
Чуть позже сделаю.
from postgresql_cluster.
Можно сделать немного проще, и передать управление pg_ident на Patroni
https://patroni.readthedocs.io/en/latest/SETTINGS.html?highlight=pg_ident#postgresql
(см. описание блока pg_ident)
from postgresql_cluster.
В моей практике правда я еще никогда с нуля кластер не инициализировал через патрони. Т.е. у меня всегда уже есть настроенный мастер перед тем, как я включаю патрони.
Я не против, давайте сделаем через патрони управление файлом pg_ident.conf
from postgresql_cluster.
@sgrinko
Готово (d7f3536).
Переменная postgresql_pg_ident
Проверьте.
Довольны ли Вы функционалом? :)
from postgresql_cluster.
Спасибо, работает
from postgresql_cluster.
Related Issues (20)
- ansible error HOT 9
- haproxy.cfg creation issue HOT 3
- Patroni restartarts database HOT 5
- Patroni dependency missing HOT 5
- Patroni/etcd 404 error HOT 11
- How to add a shared library pg_cron HOT 1
- Setting HA true switched alma9 from init 3 to init 5 and wiped out ssh keys causing man in the middle banner and failure HOT 7
- Have Different default_pool_size for two seperate database HOT 6
- How to install pgbackrest with init cluster ? HOT 15
- Restart of pgbouncer fails HOT 9
- The connection is getting timeout with errors while making conenctions with pgbouncer HOT 1
- Consul service structure clarification needed HOT 5
- Add supported OS: RedOs, Astralinux HOT 1
- Debian 12 - Ansible Issue - etcd Download Package HOT 3
- ansible-playbook update_pgcluster.yml -e target=system fails HOT 12
- Question: user, db are not created when fresh cluster installs due skip result in condition HOT 1
- TODO: pgcat as an alternative to pgbouncer and more HOT 6
- importlib.metadata.PackageNotFoundError: No package metadata was found for patroni HOT 1
- Question: In some reason I have always basic pg_hba.conf file content without users and vm ips HOT 1
- Unable to start patroni after pgbackrest restore HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postgresql_cluster.