Rundeck 2.6.11-多次执行自定义脚本执行

时间:2019-01-30 18:54:06

标签: bash rundeck

我已经修改了script-copy和script-exec命令,现在在运行我的作业时,出于某种原因script-exec命令将运行3次。

                    [workflow] beginExecuteNodeStep(node): NodeDispatch: com.dtolabs.rundeck.execution.ExecutionItemFactory$1@5485420a
17:01:28            [script-copy] executing: /usr/bin/scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /var/lib/rundeck/.ssh/id_rsa /var/lib/rundeck/var/tmp/dispatch19454642280980990.tmp root@node:/tmp/rundeck_script
17:01:28            Warning: Permanently added 'node' (RSA) to the list of known hosts.
17:01:28            [script-exec] executing: /var/lib/rundeck/execute_script node
17:01:28            Warning: Permanently added 'node' (RSA) to the list of known hosts.
17:03:25            Running handlers:
17:03:25            [2019-01-29T16:03:25-08:00] INFO: Running report handlers
17:03:25            Running handlers complete
17:03:25            [2019-01-29T16:03:25-08:00] INFO: Report handlers complete
17:03:25            Chef Client finished, 35/56 resources updated in 116.051040148 seconds
17:03:25            [script-exec]: result code: 0, success: true
17:03:25            [script-exec] executing: /var/lib/rundeck/execute_script node
17:03:25            Warning: Permanently added 'node' (RSA) to the list of known hosts.
17:04:55            Running handlers:
17:04:55            [2019-01-29T16:04:54-08:00] INFO: Running report handlers
17:04:55            Running handlers complete
17:04:55            [2019-01-29T16:04:54-08:00] INFO: Report handlers complete
17:04:55            Chef Client finished, 35/56 resources updated in 87.78402184 seconds
17:04:55            [script-exec]: result code: 0, success: true
17:04:55            [script-exec] executing: /var/lib/rundeck/execute_script node
17:04:55            Warning: Permanently added 'node' (RSA) to the list of known hosts.
17:06:19            Running handlers:
17:06:19            [2019-01-29T16:06:19-08:00] INFO: Running report handlers
17:06:19            Running handlers complete
17:06:19            [2019-01-29T16:06:19-08:00] INFO: Report handlers complete
17:06:19            Chef Client finished, 35/56 resources updated in 83.083668991 seconds

这是一个错误吗?

0 个答案:

没有答案