Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ysicing/play-ansible

debian快速初始化脚本
https://github.com/ysicing/play-ansible

ansible debian godu-env

Last synced: 1 day ago
JSON representation

debian快速初始化脚本

Awesome Lists containing this project

README

        

# play-ansible

```
git clone https://github.com/ysicing/play-ansible.git

cd play-ansible

# 安装ansible
./install.sh

# 编辑inventory.ini,添加节点ip(已配置ssh信任登录)

# 执行初始化
ansible-playbook init.yml

```

## docker

```
docker pull ysicing/ansible:1.0
docker run -it --rm ysicing/ansible:1.0 bash
cp inventory.ini.example inventory.ini
# 编辑inventory.ini,添加节点ip

# 执行初始化
ansible-playbook init.yaml
```

## roles

```
all.yaml init + docker
init.yaml 初始化系统
docker.yaml 安装docker
```