Run a SQL Command/Query on PostgreSQL – Ansible module postgresql_query
How to automate the running of SQL Query / Command in a “testdb” database on PostgreSQL using Ansible Playbook and postgresql_query module.
https://www.ansiblepilot.com/articles/run-a-sql-command-query-on-postgresql-ansible-module-postgresql_query/
FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress – http://eepurl.com/hJv3j9
BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://leanpub.com/ansiblebyexamples
my VIDEO COURSE: Ansible by Examples
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://www.udemy.com/course/ansible-by-examples-devops/?referralCode=8E065F6D6F8622A3DEC8