how to present the following structure in more elegant way - such a table

9 views
Skip to first unread message

dudu.c...@gmail.com

unread,
May 18, 2023, 6:14:44 AM5/18/23
to Ansible Project
Hi , 
I have an input file that i'm using as part of J2 template.
Is there more elegant way to present the configuration inside the input file - for example a solution like a table ?



group_configuration:
  rootGroups:
    working:
      hardConcurrencyLimit: 100
      maxQueued: 1000
      interactive:
        hardConcurrencyLimit: 80
        maxQueued: 800
      background:
        hardConcurrencyLimit: 20
        maxQueued: 200
        base:
          hardConcurrencyLimit: 15
          maxQueued: 150
        scheduled:
          hardConcurrencyLimit: 5
          maxQueued: 50
    non_working:
      hardConcurrencyLimit: 100
      maxQueued: 1000
      interactive:
        hardConcurrencyLimit: 20
        maxQueued: 200
      background:
        hardConcurrencyLimit: 80
        maxQueued: 800
        base:
          hardConcurrencyLimit: 15
          maxQueued: 150
        scheduled:
          hardConcurrencyLimit: 5
          maxQueued: 50
Reply all
Reply to author
Forward
0 new messages