On Wed, Apr 30, 2025 at 7:15 AM Luca Ferrari <fluca1...@gmail.com> wrote:

> Rationale: I'm using ansible to configure, thru different steps,
> PostgreSQL instances and I would like to have every part to append its
> configuration on the previous one.
>

Ansible is good for bringing your systems to a known consistent state, so
your best bet would be to maintain the list of libraries inside Ansible and
then simply apply it. If you really don't know what might be in the
database, I would have Ansible read the current value, build the new one if
the desired library is not there, and apply the new value.

Cheers,
Greg

--
Crunchy Data - https://www.crunchydata.com
Enterprise Postgres Software Products & Tech Support

Reply via email to