How can I save a nested dictionary as variable in jinja2 ansible?

后端 未结 0 577
孤独总比滥情好
孤独总比滥情好 2021-01-30 02:58

I am trying to create a prometheus.yml.j2 template for our ansible role. This is the variable:

SCRAPE_CONFIGS:
  - job_name: \'prometheus\'
    static_configs:
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题