From ff0b08acdb4390c014474eab3d10810b266e4b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=BC=9F=E8=B0=83=E8=B0=83?= Date: Fri, 7 Jul 2023 12:41:19 +0800 Subject: [PATCH] doc: update ansible.md --- docs/ansible.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ansible.md b/docs/ansible.md index 5b5199b..9f56b90 100644 --- a/docs/ansible.md +++ b/docs/ansible.md @@ -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]