From ceac94963de85699255d63ffa450440c319de520 Mon Sep 17 00:00:00 2001 From: jaywcjlove Date: Wed, 9 Nov 2022 03:57:17 +0000 Subject: [PATCH] doc: update `ansible.md` (#31) 04e6e16a97101efdd48d96a712a4567b4a5b5389 --- CONTRIBUTORS.svg | 10 +++++++--- docs/ansible.html | 25 +++++++++++++------------ docs/toml.html | 4 ++-- 3 files changed, 22 insertions(+), 17 deletions(-) diff --git a/CONTRIBUTORS.svg b/CONTRIBUTORS.svg index aafaa65c..be50d69b 100644 --- a/CONTRIBUTORS.svg +++ b/CONTRIBUTORS.svg @@ -12,11 +12,15 @@ + + - + - + + + - + \ No newline at end of file diff --git a/docs/ansible.html b/docs/ansible.html index 756ecc20..6a378a80 100644 --- a/docs/ansible.html +++ b/docs/ansible.html @@ -41,7 +41,7 @@

此快速参考备忘单提供了使用 Ansible 的各种方法。

入门

安装

@@ -100,23 +100,24 @@ [webservers] foo.example.com bar.example.com - -Inventory主机组使用多个IP和域名 - [web] + +

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

+
[web]
 172.18.12.5[1:4]
-[webservers]
+[webservers]
 www[01:50].example.com
-
-Inventory主机组使用子主机组
-[usa:children]
+
+

Inventory 主机组使用子主机组

+
[usa:children]
 southeast
 northeast
 southwest
 northwest
-
-给多台主机设置变量 : group variables
-如果组中的所有主机共享一个变量值,则可以一次将该变量应用于整个组
-[atlanta]
+
+

给多台主机设置变量

+

group variables +如果组中的所有主机共享一个变量值,则可以一次将该变量应用于整个组

+
[atlanta]
 host1
 host2
 
diff --git a/docs/toml.html b/docs/toml.html
index 39c18787..fb2a8b31 100644
--- a/docs/toml.html
+++ b/docs/toml.html
@@ -44,7 +44,7 @@
 

这是 TOML 格式配置文件语法的快速参考备忘清单。

入门

介绍

TOML 是一种最小的配置文件格式,由于明显的语义而易于阅读。

    @@ -211,7 +211,7 @@ [ g . h .i ] # same as [g.h.i] [ j . "ʞ" .'l' ] # same as [j."ʞ".'l'] -

Inline Table

+

内联表

name = { first = "Tom", last = "Preston-Werner" }
 point = { x = 1, y = 2 }