linagora / obm-deploy

[ARCHIVED] Ansible based OBM deployment system
GNU General Public License v3.0
4 stars 8 forks source link

Implement obm-autoconf role #3

Open max-k opened 10 years ago

max-k commented 10 years ago

-> Can be based on obm-sync role

recid commented 10 years ago

There is a little subject about the deploy of all xpi, cause we don't have the xpi extensions. Either we choose to store on a repo all xpi we want to deploy by defaut with autoconf. Thus we can download them with the get_url ansible module. Or we build a obm-autoconf-xpi package which contains all default obm-autoconf xpi and deploy them in the obm-autoconf xpi directory.

What do you think about this ?

max-k commented 10 years ago

You're absolutely right. We can download lightning and obm-connector from http://obm.org/mozilla-addons/. However, we must keep in mind that obm-connector "supported" version is not available for download. Also, there is no real default xpi bundle for autoconf because each deployment is different. So, it's not necessary, in my opinion, to build a package to handle that but we can make ansible to rsync a local xpi directory to remote machine. This directory can contains all custom xpi for a particular deployment plus downloaded latests default xpi (autoconf-client, lightning, obm-connector). One other thing, we can make that latest xpi will always be download even if they are staticized using some variables like _obm_connectorversion declared in group_vars/javaservers.