Skip to content

Commit

Permalink
prepare for rq scheduler and nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
therealmarv committed Nov 14, 2014
1 parent 39ca864 commit ea9edd3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/_themes/sphinx-theme-pybossa
Submodule sphinx-theme-pybossa updated from e09cd1 to 639dce
22 changes: 22 additions & 0 deletions provisioning/playbook.yml
Expand Up @@ -160,3 +160,25 @@
owner=vagrant
state=present
insertafter=EOF

# installation for simulate Vagrant production setups
- hosts: vagrant_production
sudo: yes
tasks:
- name: install nginx
apt: name=nginx state=latest

- name: start the nginx service
service: name=nginx state=started

- name: start Supervisor service
service: name=supervisor state=started

- name: copy Supervisor config
template: src=templates/rq-scheduler.conf.j2 dest=/etc/supervisor/conf.d/rq-scheduler.conf owner=root group=root
notify:
- restart supervisor

handlers:
- name: restart supervisor
service: name=supervisor state=restarted
2 changes: 1 addition & 1 deletion pybossa/themes/default
Submodule default updated from c7c07a to a257ec

0 comments on commit ea9edd3

Please sign in to comment.