Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ooni backend setup role #14

Merged
merged 20 commits into from Nov 27, 2015
Merged

Conversation

anadahz
Copy link
Contributor

@anadahz anadahz commented Oct 28, 2015

No description provided.

@hellais
Copy link
Member

hellais commented Nov 25, 2015

Somehow I had missed this code. Could you please rebase it against master and I shall review it.

Thanks!

anadahz added 20 commits November 26, 2015 03:23
Add custom role to setup ooni-backend in hosts without docker
In debian jessie we could install pip via apt since Debian's version suffices
ooni-backend pip version requirements
Install python-pip from apt if Debian version is at least 8
Change from static to distro specifici tor Debian repo release
Introduced variables:
* tor_distribution_release
* tor_distribution_release_experimental
Debian CDN repo 'cdn.debian.net' is deprecated the correct is
'httpredir.debian.net' ansible_distribution_release
A role for deploying and configuring Supervisor and extensions on unix hosts
using Ansible Source: github.com:zenoamaro/ansible-supervisord.git
Introduced variables:
* oonibackend_install_path
* oonibackend_log_path
* oonibackend_conf
Add supervisor and fetch-HS-info roles to the main ooni-backend role
* Backup ooni-backend configuration file prior copying the new one
* Install ooni-backend via pip from ooni-backend git repo in a virtualenv
* Create ooni-backend required directories
The hosts should be in custom group and the variable 'set_supervisord' defines
if ooni-backend will be controlled by supervisord
@anadahz
Copy link
Contributor Author

anadahz commented Nov 26, 2015

OK please check!

@hellais
Copy link
Member

hellais commented Nov 26, 2015

Almost there, though you need to clean up the commit history so that the rebased commits are squashed and not on top of the old ones.

@anadahz anadahz force-pushed the feature/ooni-backend-setup-role branch from 4c8310e to d361a8a Compare November 27, 2015 15:44
@anadahz
Copy link
Contributor Author

anadahz commented Nov 27, 2015

@hellais please recheck, thanks.

@joelanders
Copy link
Contributor

Looks good.

joelanders added a commit that referenced this pull request Nov 27, 2015
@joelanders joelanders merged commit 71a32c1 into master Nov 27, 2015
@anadahz anadahz deleted the feature/ooni-backend-setup-role branch November 28, 2015 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants