doc: update ansible.md

This commit is contained in:
小弟调调 2023-07-07 12:41:19 +08:00 committed by GitHub
parent 24ea8f6a6a
commit ff0b08acdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ ansible --version | grep "config file"
`/etc/ansible/hosts`
```INI
```ini
mail.example.com
[webservers]
@ -57,7 +57,7 @@ bar.example.com
### Inventory 主机组使用多个IP和域名
```
```ini
[web]
172.18.12.5[1:4]
[webservers]