Update create.py

This commit is contained in:
qiaofeng1227 2022-07-14 14:35:10 +08:00 committed by GitHub
parent 4ac99768db
commit 27f365243d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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执行完成,并清空列表")
print("\n执行完成,并清空列表")