aboutsummaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-06-07 20:59:48 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-06-07 20:59:48 +0200
commit9e7ca7538e2f96fda9cbdc126887afc8d7d15b11 (patch)
tree1c80ab7de0ef0ef9fe62f429f246484b3a35da2b /tasks
parenta1407e29cf0b47d5db157ebedcec8139f82cfc6c (diff)
downloadltask-9e7ca7538e2f96fda9cbdc126887afc8d7d15b11.tar.gz
Added parallel task execution
Parallel task execution + hostname and stderr prefix to output
Diffstat (limited to 'tasks')
-rw-r--r--tasks/example5
1 files changed, 4 insertions, 1 deletions
diff --git a/tasks/example b/tasks/example
index bc78361..deb3c94 100644
--- a/tasks/example
+++ b/tasks/example
@@ -3,7 +3,7 @@
function task_exec() {
whoami
hostname
- uptime
+ uptime 1>&2
}
function task_setup() {
@@ -12,6 +12,9 @@ function task_setup() {
# $TOOL_DIR
# $INCLUDE_DIR
+ # Available Configuration
+ # $PARALLEL "true"/"false"
+
INCLUDES+=()
SSH_USER=server