Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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快速初始化脚本
- Host: GitHub
- URL: https://github.com/ysicing/play-ansible
- Owner: ysicing
- License: apache-2.0
- Created: 2019-05-18T14:24:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-16T14:48:47.000Z (over 2 years ago)
- Last Synced: 2023-03-04T04:34:47.741Z (over 1 year ago)
- Topics: ansible, debian, godu-env
- Language: Jinja
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# play-ansible
```
git clone https://github.com/ysicing/play-ansible.gitcd 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
```