# ansible-tools **Repository Path**: scajy/ansible-tools ## Basic Information - **Project Name**: ansible-tools - **Description**: ansible部署lnmp环境 - **Primary Language**: Shell - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 2 - **Created**: 2020-04-17 - **Last Updated**: 2025-09-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ansible-tools #### 介绍 ansible部署lnmp环境 #### 软件架构 软件架构说明 #### 安装教程 1. 安装ansible工具 ```sh yum install ansible -y ``` #### 使用说明 1. 初始化系统 ```sh # ansible-playbook -i hosts site_system_Initialization.yaml -uroot -k ``` > 注释 > > ​ ansible-playbook # ansible命令 > > ​ -i hosts # 指定hosts文件 > > ​ site_system_Initialization.yaml # 指定文件 > > -uroot -k # 使用root用户,-k表示直接使用密码