diff options
author | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2014-05-12 16:54:41 +0300 |
---|---|---|
committer | Paul Sokolovsky <paul.sokolovsky@linaro.org> | 2014-05-12 16:54:41 +0300 |
commit | 3aa4a1c11510a11da24b43c81a35c404d6d6419a (patch) | |
tree | e15df1a6e92518ac40313fec1d8fb2cf1989fc64 | |
parent | ec51286e6875bcb23fa19a2d2601a13667b68901 (diff) |
ansible: Add wrapper for remote mangle-jobs execution.
Change-Id: Ib1a51dfd93646b10421c445fbd1b2fd55561e11d
-rwxr-xr-x | ansible/mangle-jobs-remote | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/mangle-jobs-remote b/ansible/mangle-jobs-remote new file mode 100755 index 0000000..b57df78 --- /dev/null +++ b/ansible/mangle-jobs-remote @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ -z "$script" ]; then + echo "Usage: script=<script> $0 <ansible host selector>" + exit 1 +fi + +ansible all "$@" \ + -m command \ + -a "./mangle-jobs $script --dir=/var/lib/jenkins chdir=linaro-jenkins-tools/mangle-jobs/" |