【发布时间】:2021-07-26 11:29:30
【问题描述】:
我有这本词典:
Ip = {'a':['one','two','three'],'b':['one','five','six'],'c':['seven','eight','nine'],'d':['five']}
我希望我的输出是这样的
Op = {'a':['one','two','three'],'b':['one','five','six'],'d':['five']}
由于它在字典中有一些常见的值,例如“一”或“五”,因此应删除重复的值。
【问题讨论】:
标签: ansible ansible-2.x ansible-inventory ansible-facts ansible-template