diff --git a/apps/create.py b/apps/create.py index f5b21dd1..a2c3614b 100644 --- a/apps/create.py +++ b/apps/create.py @@ -22,8 +22,7 @@ mylists=ReadLists("add") # 批量处理,创建项目文件夹,issue for mylist in mylists: print("处理 "+mylist+" ...\n") - os.system("git clone --depth=1 https://github.com/Websoft9/ansible-template.git "+ mylist + "rm -rf ansible-template") - os.system("cd "+ mylist +" && rm -rf .git .github docs") + os.system("cd apps/roles && cp -R Template " + mylist) os.system("echo '' > add") -print("\n执行完成,并清空列表") \ No newline at end of file +print("\n执行完成,并清空列表")