From 5498b3abcb1f14e605b2308b5494d13d5d747fb0 Mon Sep 17 00:00:00 2001 From: jaywcjlove Date: Fri, 7 Jul 2023 04:42:32 +0000 Subject: [PATCH] doc: update ansible.md ff0b08acdb4390c014474eab3d10810b266e4b45 --- docs/ansible.html | 6 +++--- index.html | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/ansible.html b/docs/ansible.html index 7a3229c8..434dbcd8 100644 --- a/docs/ansible.html +++ b/docs/ansible.html @@ -98,16 +98,16 @@

Inventory文件(hosts列表)

静态Inventory

/etc/ansible/hosts

-
mail.example.com
+
mail.example.com
 
 [webservers]
 foo.example.com
 bar.example.com
 

Inventory 主机组使用多个IP和域名

-
[web]
+
[web]
 172.18.12.5[1:4]
-[webservers]
+[webservers]
 www[01:50].example.com
 

Inventory 主机组使用子主机组

diff --git a/index.html b/index.html index e2cf5f23..cc5c5cd5 100644 --- a/index.html +++ b/index.html @@ -935,6 +935,9 @@ QDelta + + RivailleF + Ryan Zhou @@ -1270,7 +1273,7 @@

如果你有资源,可以很方便部署 web 版,这非常简单,只需要克隆 gh-pages 分支代码到你的静态服务就可以了,还可以使用 docker 快捷部署 web 版。

-
+