摘要: 完成nginx编译安装脚本 #!/bin/bash NGINX_VERSION=1.20.2 INSTALL_DIR=/usr/local/src NEW_PATH="/usr/local/src/nginx/sbin" sudo su -c "getent passwd nginx" -s /bi 阅读全文
posted @ 2024-07-16 00:15 TestAL4193 阅读(31) 评论(0) 推荐(0)
摘要: 1.编写一个playbook实现Nginx的两种安装过程,安装方式可通过变量传入控制 - hosts: appseevers remote_user: root vars: software: nginx version: 1.20.2 format: .tar.gz tasks: - name: 阅读全文
posted @ 2024-07-16 00:12 TestAL4193 阅读(16) 评论(0) 推荐(0)