automated deployment tool
pip install poetry
poetry install
poetry build
pip install audep-*.whl
./audep -f redis.toml -l 10
pip install poetry
poetry install
poetry run pyinstaller -F audep-cli.spec
poetry run pyinstaller -F --upx-dir=./tools/upx32 audep-cli.spec
./audep-cli -f redis.toml -l 10
poetry shell
python -m pip install --upgrade pip
pip install pywin32-ctypes
pip install pefile
no dependencies
https://github.com/coolxv/audep-example.git
#const
$py(ip1='192.168.10.10')
#host
[hosts.centos1]
host = 'root@$(ip1):22'
pwd = '123456'
#app
[apps.redis]
file = '''
d"$(lcwd)/../redis/">>d"/opt/redis/"
(
"redis-"=>775,
"xxx-"=>775
)
'''
config = '''
tl"$(lcwd)/../redis/conf/redis.conf"
(
"^bind"=>"bind 127.0.0.1",
"^port"=>"port %{port}",
"^daemonize"=>"daemonize yes"
)
'''
action = '''
r"ls"->0
redis::start("/opt/redis/")
'''
#task
[[tasks]]
name = 'redis'
task = '''
redis@centos1(port=6379)
'''