Closed stdnt-xiao closed 1 year ago
阿里云ECS centos7.9 服务器4核32G验证通过
TASK [dss : 复制前端代码] *** changed: [dss-service]
TASK [dss : 创建nginx配置] **** changed: [dss-service]
TASK [dss : 创建nginx子目录] *** changed: [dss-service]
TASK [dss : 重载nginx配置] **** changed: [dss-service]
TASK [dss : 检查端口是否运行] ***** ok: [dss-service]
TASK [dss : 打印访问信息] *** ok: [dss-service] => { "msg": [ "*", " 访问 http://192.168.1.33 查看访问信息 ", "*****" ] }
PLAY RECAP **** dss-service : ok=157 changed=127 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
执行ansible-playbook playbooks/download.yml 提前将文件下载到{{ WORKSPACE_HOME }}/download目录 避免安装过程中由于网络原因导致的安装失败