1、模拟安装httpd
1 [root@linux-node1 ansible]# tree roles/ 2 roles/ 3 ├── app 4 │ ├── files 5 │ │ └── vhosts.conf 6 │ ├── handlers 7 │ │ └── main.yml 8 │ ├── tasks 9 │ │ ├── copyfile.yml 10 │ │ ├── group.yml 11 │ │ ├── main.yml 12 │ │ ├── start.yml 13 │ │ ├── templ.yml 14 │ │ ├── user.yml 15 │ │ └── yum.yml 16 │ ├── templates 17 │ │ └── httpd.conf.j2 18 │ └── vars 19 │ └── main.yml