摘要: 功能:用来获取remote host的facts 它是一个非常基础的模块[1],playbook里面可以直接当关键字用gather_facts: False 执行set_up模块时自动调用get_facts模块[1], 结果放在ansible_facts 这个变量里面 $ ansible ex_se 阅读全文
posted @ 2022-04-19 16:36 yahoon 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Ansible AWX/Tower credential 的本质 Ansible Tower (社区版本叫AWX)用credential这个资源来对象来存储playbook运行过程中用到的机密信息。比如ssh到remote host上的ssh 私钥。 今天的个人感悟: Tower Credentia 阅读全文
posted @ 2022-04-19 00:39 yahoon 阅读(128) 评论(0) 推荐(0) 编辑