Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Which installer: N/A
Which product and version (eg: ansible & collection version - 7.24.2): Ansible - 2.14.3, jfrog.platform 10.19.4
Which operating system and version(eg: ubuntu & version - 20.4): Debian 12
Which product license (Enterprise/Pro): Pro
JFrog support reference (if already raised with support team):
What happened:
Variable postgres_allowed_hosts.method doesn't work.
By looking at code it seems that there is a typo in template.
Method is not using host iterator, but item and also looking for auth key instead of method
What you expected to happen:
Method should be appropriately populated during pg_hba.conf template generation
How to reproduce it (as minimally and precisely as possible):
Execute postgresql role with variable like this
Is this a request for help?: No
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Which installer: N/A
Which product and version (eg: ansible & collection version - 7.24.2): Ansible - 2.14.3, jfrog.platform 10.19.4
Which operating system and version(eg: ubuntu & version - 20.4): Debian 12
Which product license (Enterprise/Pro): Pro
JFrog support reference (if already raised with support team):
What happened: Variable postgres_allowed_hosts.method doesn't work. By looking at code it seems that there is a typo in template. Method is not using host iterator, but item and also looking for auth key instead of method
What you expected to happen: Method should be appropriately populated during pg_hba.conf template generation
How to reproduce it (as minimally and precisely as possible): Execute postgresql role with variable like this
Method will be trust instead of expected md5
Anything else we need to know: