<div dir="ltr">Hi,<br><div><br></div><div>I'm trying to automate deployment of bucardo in a multi-master setup using Ansible. </div><div><br></div><div>Initially I was manually creating both bucardo's database and user, prior running "bucardo install", but after a few tries I notice that "bucardo install" can do all that if is run with a Postgres SUPERUSER credentials, as follows: "bucardo install -h localhost --pid-dir /var/run/bucardo --dbuser postgres --dbname postgres". </div><div><br></div><div>The thing is, it keeps asking repeatedly (4 times exactly) for the password of <b>postgres</b> user at database level, even though the linux user running the "bucardo install" is the <b>postgres</b> user itself and the environment is configured for a peer authentication method from localhost. It should be able to connect to the database with no issues... </div><div><br></div><div>Just to further clarify, let me list here the installation steps in my Ansible Playbook:</div><div><br></div><div>1) Install Bucardo dependencies (For current Debian Stable)</div><div>2) Download Bucardo from git</div><div>3) Build Bucardo Makefile</div><div>4) Make Bucardo</div><div>5) Make Install Bucardo</div><div>6) Creates local linux bucardo user (not required, no?)</div><div>7) Copy <b><i>Install Script</i></b> (My wrapper script around "bucardo install"). This is the script that currently has to feed <b>postgres</b> database user's password 4 times to "bucardo install".</div><div>8) Create bucardo log and run directories</div><div>9) Run <i style="font-weight:bold">Install Script </i>as local <b>postgres</b> linux user.</div><div><br></div><div>I've tried, for several days now, run the "bucardo install" with a database bucardo user with SUPERUSER privileges but was unable for several connection issues. </div><div><br></div><div>I'm at that point that I want first a minimal working setup using Ansible.</div><div><br></div><div>Postgres 11 and bucardo 5.6.0, btw.</div><div><br></div><div>Many thanks for the help.</div></div>