Discussions related to ansible configuration management 2020-11-04 Balazs Varga12:00:01 PMhi all, Balazs Varga12:01:18 PMquick question: I would like to lookup an dns result… I know I can do it with: {{ lookup(‘dig’, ‘example.com’, ‘qtype=NS’ ) }} but how can I dig using a variable ? Balazs Varga12:38:36 PMto answer myself{{ lookup('dig', variable , 'qtype=NS' ) }} Hao Wang02:23:57 AM 2020-11-27