diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-06-07 20:59:48 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-06-07 20:59:48 +0200 |
commit | 9e7ca7538e2f96fda9cbdc126887afc8d7d15b11 (patch) | |
tree | 1c80ab7de0ef0ef9fe62f429f246484b3a35da2b /tasks/example | |
parent | a1407e29cf0b47d5db157ebedcec8139f82cfc6c (diff) | |
download | ltask-9e7ca7538e2f96fda9cbdc126887afc8d7d15b11.tar.gz |
Added parallel task execution
Parallel task execution + hostname and stderr prefix to output
Diffstat (limited to 'tasks/example')
-rw-r--r-- | tasks/example | 5 |
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 |