Ansible使用介绍

72课时
1.9K学过
8分

课程评价 (0)

请对课程作出评价:
0/300

学员评价

暂无精选评价
2分钟

20 示例3:同时调用两个roles角色

目录结构:

cp niginx_role.yml some_role.yml

vim some_role.yml

– hosts: websrvs

romete_user: root

roles:

– role: httpd

– role: nginx

执行结果如下: