ansible
文章平均质量分 68
太阳花先生可爱多
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【已解决】 “discovered_interpreter_python“: “/usr/bin/python“
最近用ansible-playbook 适配,麒麟、统信服务端操作系统,Centos 8。遇到的问题处理 "discovered_interpreter_python": "/usr/bin/python" 多种解决方法原创 2022-07-07 11:01:43 · 6113 阅读 · 0 评论 -
【已解决】ansible 命令报错 Error -5 while decompressing data: incomplete or truncated stream
一、报错信息:执行ansible命令时报错ERROR! Unexpected Exception, this is probably a bug: Error -5 while decompressing data: incomplete or truncated stream详细报错如下[root@localhost tmp]# ansible -hERROR! Unexpected Exception, this is probably a bug: Error -5 while .原创 2022-02-17 11:21:39 · 2174 阅读 · 0 评论 -
ansible-playbook 中的jinja 和变量使用总结
1、ansible-playbook 中的jinja表达式jinja for循环中的索引 {% for xx in xxxs %} loop.index --代表索引从1开始 loop.index0--代表索引从0开始 loop.last --值为 布尔 true代表是最后一个元素 loop.first --值为 布尔 true代表是最后一个原始 {% en...原创 2019-06-11 10:55:55 · 2905 阅读 · 0 评论
分享