feat(ansible): improve Linux OS setup role (vhosts/common)

This commit is contained in:
Haitao Pan 2025-04-05 17:50:43 +08:00
parent d7871dc331
commit cb8dda4fed
2 changed files with 1 additions and 2 deletions

View File

@ -2,4 +2,4 @@
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y vim ping
sudo apt-get install -y vim inetutils-ping

View File

@ -234,7 +234,6 @@ pulumi_run() {
up)
echo "🚀 正在部署 stack: $STACK_NAME"
pulumi up --yes
ansible-playbook -i scripts/dynamic_inventory.py ansible/playbooks/common_setup.yml -D
;;
down)
echo "⚠️ 先执行 destroy 确保资源干净"