LabHub
学习 学习路径 课程

Ansible 基础

测验:清单与 ad-hoc

在 LabHub 中继续学习

[prod:children] 段中可以包含什么?

all:vars 中有 ansible_user=rootweb:vars 中有 ansible_user=deploy,而 web1 的主机变量为 ansible_user=admin。连接 web1 时会使用哪个用户?

某次部署希望只排除 web2。最合适的方法是什么?

关于 ansible -m ping 的作用,哪一项正确?

关于 INI 清单与 YAML 清单的关系,哪一项正确?

清单表现异常时,首先应该做什么?