更新时间:2023-12-05 18:07:52
我找到了环境变量 -
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 脚本而不是删除
保存临时的Ansible Shell脚本,而不是删除