摘要: Ansible 流程控制 条件语句(判断) 当满足什么条件时,就执行那些tasks when 当...时 ansible获取主机名 # 主机名中,不包含'.'没有区别 ansible_hostname # 包含'.'只显示第一个'.'前面的名字 ansible_fqdn # 包含'.'显示完整的主机 阅读全文
posted @ 2022-06-30 19:51 FYytfg 阅读(58) 评论(0) 推荐(0)