images\cherry_red.png1 Ansible
      images\cherry_blue.png1.1 ansible安装部署
   images\cherry_red.png2 功能模块
      images\cherry_blue.png2.1 playbook
      images\cherry_blue.png2.2 command模块
      images\cherry_blue.png2.3 shell模块
      images\cherry_blue.png2.4 copy模块
      images\cherry_blue.png2.5 package模块
      images\cherry_blue.png2.6 file模块
      images\cherry_blue.png2.7 fetch模块
      images\cherry_blue.png2.8 cron模块
      images\cherry_blue.png2.9 template模块
      images\cherry_blue.png2.10 service模块
      images\cherry_blue.png2.11 yum模块
      images\cherry_blue.png2.12 user模块
      images\cherry_blue.png2.13 group模块
      images\cherry_blue.png2.14 script模块
      images\cherry_blue.png2.15 setup模块
template 模块

用于生成配置文件。例如,生成一个 Nginx 的配置文件:
play-book形式

```
- name: Generate Nginx configuration
template:
src: nginx.conf.j2
dest: /etc/nginx/nginx.conf
```