I am trying to install postgres on different machine using ansible. Currently I am using postgres source to install on a partical location.Its taking too much time. Is their a way to run postgres by simpy unzipping a tar or zip binary file like that of tomcat zip.If any alternative is their please suggest me one. :)
Is there any way to Install postgres from Binary in linux machine irrespective of Linux build(Debian/CentOS/others)
linux;debian;centos;postgresql
You're using ansible already.  Just let ansible do the right thing and install the appropriate packages specific to each distro, using the native package manager for each distro.Otherwise, you're going to have to build and compile your own version of postgresql for each platform and package them yourself.  Postgresql isn't a java application, it is written in C and needs to be compile for each platform based on what is available.