Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-2450

Job details YAML data line length should not be artificially limited, affects 2.5 and 2.6

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • n/a, 2.5
    • aap-ui
    • False
    • Hide

      None

      Show
      None
    • False

      Description

      When running a job template that output long lines and inspecting it in the gateway interface, long lines are forced to a limited max length that adds unexpected multiple empty new lines the creates confusion when checking the results.

      Line length seems to be limited at around 80 characters for no explicit reason.

      In 2.5:

      In 2.6:

       

      Steps to reproduce

      1. Using the sample playbook
        ---
        - name: "Debug writing stuff"
          hosts: all
          vars:
            var1: "1"
            var2: 2
            var3: "/some/very/long/path/with/some/nesting/and/strings/yolo/"
            var4: "/some/long/path/with/some/nesting/and/strings/"
        
          tasks:
            - name: "With folding"
              debug:
                msg: |
                 a: {{ var1 }}
                 b: {{ var2 }}
                 EXTRA VARS
                 a_very_longstring_with_SOME_symbols: {{ var3 }}
                 c: {{ var1 }}
        
            - name: "With folding shorter line"
              debug:
                msg: |
                 a: {{ var1 }}
                 b: {{ var2 }}
                 EXTRA VARS
                 z1: {{ var3 }}
                 z2: {{ var4 }}
                 c: {{ var1 }}
        
            - name: "With arrays"
              debug:
                msg:
                - "a: {{ var1 }}"
                - "b: {{ var2 }}"
                - "EXTRA VARS"
                - "z1: {{ var3 }}"
                - "z2: {{ var4 }}"
                - "c: {{ var1 }}"
      1. Execute the job and inspect the outputs
         

      Requested change

      Do not preformat the output to line length constraints

        1. image-2025-10-07-13-18-52-016.png
          35 kB
          Matteo Canu
        2. image-2025-10-07-13-22-41-818.png
          97 kB
          Matteo Canu
        3. image-2025-10-07-14-17-34-421.png
          98 kB
          Matteo Canu
        4. image-2025-10-07-14-18-09-871.png
          37 kB
          Matteo Canu

              Unassigned Unassigned
              rhn-support-mcanu Matteo Canu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: