摘要: ansible template 使用jinjia2模板时,传主机列表时候字段多了个u(unicode),导致集群文件时读取异常。 解决方法: 添加|to_yaml or |to_json {{ groups['es_server'] | map('extract',hostvars,'ansibl 阅读全文
posted @ 2021-04-02 09:51 Squidweber 阅读(99) 评论(0) 推荐(0)