Update README.md

This commit is contained in:
qiaofeng1227 2022-07-12 08:15:51 +08:00 committed by GitHub
parent b4d0970dc2
commit 0a260b00fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,21 +12,16 @@ Ansible Role: init
| Operating system | CentOS7.x Ubuntu AmazonLinux |
| Python 版本 | Python2 |
| Python 组件 | |
| Runtime | MySQL, MariaDB, PostgreSQL, MongoDB |
| Runtime | Docker and DB |
## Related roles
本 Role 在语法上引用了主变量,程序运行时需要确保已经运行: mysql | mariadb | postgresql | mongodb 等 Role。以 mysql 为例:
本 Role 引用范例:
```
roles:
- {role: role_common, tags: "role_common"}
- {role: role_cloud, tags: "role_cloud"}
- {role: role_mysql, tags: "role_mysql"}
- {role: role_docker, tags: "role_docker"}
- {role: role_docker_phpmyadmin, tags: "role_docker_phpmyadmin"}
- {role: role_init_password, tags: "role_init_password"}
- {role: role_init, tags: "role_init"}
```