Ansible 调试器 - 你能重做以前的任务吗?
Ansible debugger - Can you redo previous tasks?
我正在使用 Ansible 调试器,使用命令:
p(打印变量)
重做)
继续)
q(单位)
一旦剧本到达失败的步骤,我常常希望我可以返回并在失败的任务之前重新执行之前的任务。这可能吗?
关于你的问题
... go back and re-do previous tasks ...
根据文档playbooks_debugger,这似乎是不可能的,因为
You have access to all of the features of the debugger in the context of the task
仅。
我正在使用 Ansible 调试器,使用命令: p(打印变量) 重做) 继续) q(单位)
一旦剧本到达失败的步骤,我常常希望我可以返回并在失败的任务之前重新执行之前的任务。这可能吗?
关于你的问题
... go back and re-do previous tasks ...
根据文档playbooks_debugger,这似乎是不可能的,因为
You have access to all of the features of the debugger in the context of the task
仅。