diff --git a/README.md b/README.md index a7c4354..857e20b 100644 --- a/README.md +++ b/README.md @@ -75,5 +75,12 @@ Deploy two roles on a host with an alternative port kickstart deploy "-p 2222 vagrant@localhost" nodejs redis ``` +#### local +Deploy localy a recipe that is not over ssh. It basicaly compile and run the install script + +```bash +kickstart local [roles ...] +``` + ### Thanks This project was inspired on [sunzi](https://github.com/kenn/sunzi) diff --git a/lib/kickstart-local b/lib/kickstart-local new file mode 100755 index 0000000..5706cdc --- /dev/null +++ b/lib/kickstart-local @@ -0,0 +1,7 @@ +#!/bin/bash -e + +kickstart compile $@ +( +cd compile +bash install.sh +)