SET UP POSTGRESQL 9.6 MASTER-SLAVE REPLICATION USING REPMGR
Follow this blog for 9.6 https://edwardsamuel.wordpress.com/2016/04/28/set-up-postgresql-9-5-master-slave-replication-using-repmgr/
Changes
Keep replication config separate as explained here.
While cloning slave use following: