问题描述
嗨,假设我有以下剧本
tasks:
name: get json from api
uri:
url: http://return-host-info-json.com
register: host_info
roles:
- role: hostname
@H_502_4@
我需要处理此host_info并以其他角色使用它 如何将此host_info分配给另一个变量,以便可以将其传递给主机名角色和其他角色(如果需要)?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)