From 4c434ec247bed39ea2ca4b906f5eef07f28b5df1 Mon Sep 17 00:00:00 2001 From: Evgeniy L Date: Mon, 19 Oct 2015 20:52:53 +0300 Subject: [PATCH] Install discovery service --- bootstrap/playbooks/pxe.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap/playbooks/pxe.yaml b/bootstrap/playbooks/pxe.yaml index 4f9e13eb..4d1f8a4e 100644 --- a/bootstrap/playbooks/pxe.yaml +++ b/bootstrap/playbooks/pxe.yaml @@ -50,3 +50,7 @@ # Configure http server in order serve file in '/vagrant' directory - template: src=files/nginx_vagrant_dir.cfg dest=/etc/nginx/conf.d/vagrant_dir.conf - service: name=nginx state=restarted + + # Install discovery service + - shell: pip install git+https://github.com/rustyrobot/discovery.git + - shell: 'discovery &'