Sam Doran contributed this Ansible role for PostgreSQL Repliction, especially for Database Streaming Replication for Ansible Tower Cluster.
Some of the issues are already fixed and good to go.
Note: I have moved this note to samdoran-pgsql-replication-role-notes
Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.