solar/bootstrap/playbooks/tasks/celery_init.yaml
Dmitry Shulyak 6cc4690ff2 Remove redis and celery container, use init script for celery
- Removed all packages and container related to redis
- docker-compose will start only riak container
- add init script isntallation for solar-celery
- cleanedup some of the commented code in bootstrap scripts
- disable host key verification for vagrant user

Change-Id: I9b10d07fe6ab527bc029518da407c5165f9b3d22
2016-01-13 17:28:47 +02:00

9 lines
305 B
YAML

---
- copy: src=/vagrant/utils/solar-celery dest=/etc/init.d/solar-celery
- shell: chmod +x /etc/init.d/solar-celery
- shell: chown vagrant:vagrant /etc/init.d/solar-celery
- shell: update-rc.d solar-celery defaults
- shell: update-rc.d solar-celery enable
- shell: su vagrant service solar-celery start