Here in this video we will see how we can utilize the Ansible modules to automate the installation and configuration of the PostgreSQL database on a Fedora Linux OS. Also we will use the PostgreSQL database modules to create user role and create a database using the user role which was created initially.
Blog Ref – https://middlewaretechnologies.in/2021/12/how-to-install-and-configure-postgresql-database-using-ansible-playbook.html
source