gdamjan / ansible-uwsgi

An ansible role that compiles and installs uWSGI, in a format for ansible galaxy
https://galaxy.ansibleworks.com/list#/roles/90
BSD 2-Clause "Simplified" License
19 stars 11 forks source link

Distro support #1

Open gdamjan opened 10 years ago

gdamjan commented 10 years ago

Test the role on EL, Ubuntu and Debian versions and update the meta info.

brainstorm commented 10 years ago

As mentioned in the ansible-galaxy, good recipe, but unfortunately fails for me on Ubuntu server 12.04 due to libphp5-embed:

TASK: [../uwsgi | Making sure uwsgi dependencies are installed from apt...] 
*** failed: [IP] => (item=build-essential,libonig-dev,libqdbm-dev,libbz2-dev,libxml2-dev,
libkrb5-dev,libpcre3-dev,libdb5.1-dev,python2.7,python2.7-dev,ruby1.9.1-dev,
libphp5-embed,php5-dev,libcap-dev,liblua5.1-0-dev) 

=> {"failed": true, "item": "build-essential,libonig-dev,libqdbm-dev,libbz2-dev,libxml2-dev,
libkrb5-dev,libpcre3-dev,libdb5.1-dev,python2.7,python2.7-dev,ruby1.9.1-dev,
libphp5-embed,php5-dev,libcap-dev,liblua5.1-0-dev"} 

msg: No package matching 'libphp5-embed' is available
gdamjan commented 10 years ago

If you don't need php support then remove php from files/uwsgibuild.ini. If you do need it, then I have no idea, find a ppa with libphp5-embed?

brainstorm commented 10 years ago

Yes, that's what I did and also what I checked :)

The PPA's for that package are rather old, so I ended up removing php support altogether.