使用ansible把本地文件上传到指定服务器,再通过crontab定时调度python脚本,实现每天自动定时同步文件到服务器。
安装ansible
pip3 install ansible
京公网安备 11010502049817号