Ansible 是否有可以重新记录剧本执行历史的文件或命令?
Does Ansible have a file or command that can recothe playbook execute history?
Ansible 是否有类似 .bahs_history
/history
的文件或命令可以显示 playbook 执行历史记录?
如果没有默认设置可以做到这一点,是否可以在Ubuntu中记录ansible-playbook执行历史?
我是 Ansible 的新手,非常感谢任何帮助!
自
By default Ansible sends output about plays, tasks, and module arguments to your screen (STDOUT) on the control node.
您可以按照文档中的说明配置 Logging Ansible output 或将某些任务的结果写入文件。
进一步问答
- How do I get logs/details of ansible-playbook module executions?
- How to log in a separate file per playbook in Ansible
Ansible 是否有类似 .bahs_history
/history
的文件或命令可以显示 playbook 执行历史记录?
如果没有默认设置可以做到这一点,是否可以在Ubuntu中记录ansible-playbook执行历史?
我是 Ansible 的新手,非常感谢任何帮助!
自
By default Ansible sends output about plays, tasks, and module arguments to your screen (STDOUT) on the control node.
您可以按照文档中的说明配置 Logging Ansible output 或将某些任务的结果写入文件。
进一步问答
- How do I get logs/details of ansible-playbook module executions?
- How to log in a separate file per playbook in Ansible