在playbook中使用“inventory_hostname”变量来调用主机名。例如:
上一篇:Ansible无法在集合中找到过滤器。
下一篇:Ansible无法在Windows10中安装MicrosoftOffice2016。