ansible:获取ansible的主机信息 2024年1月17日 linux企业实战 0条评论 6次阅读 0人点赞 目录标题 1. 使用ansible_version获取ansible的版本信息 2. 使用inventory_hostname获取主机信息 3. 获取主机短信息:inventory_hostname_short 4. 获…