更新时间:2023-12-05 17:50:22
我找到了环境变量-
export ANSIBLE_KEEP_REMOTE_FILES=1
设置此项,然后重新运行ansible-playbook,然后将ssh和cd移至〜/.ansible/tmp/以查找文件.
Set this, then re-run ansible-playbook, and then ssh and cd over to ~/.ansible/tmp/ to find the files.
保存临时的Ansible Shell脚本,而不是删除