title: yaml file issue Unexpected value 'steps', "mapping values are not allowed in this context", trying to create jobs using template
body: <p>in my main YAML</p>
  <pre><code>stages:
    - stage: ui_tests
      &lt;.......&gt;
  
    - stage: ui_remote_testing
      jobs:
        - template: status-template.yml
          parameters:
            polls: [ 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 ]
  </code></pre>
  <p>in my status-template.yml</p>
  <pre><code>parameters:
    - name: &quot;polls&quot;
      type: object
      default: { }
  
  steps:
    -job: polling_job
      - ${{ each poll in parameters.polls }}:
        - task: PowerShell@2
          inputs:
            targetType: 'inline'
            script: |
              $global:testsCompleted = 0
  </code></pre>
  <p>what do I need to change to make the template run as jobs</p>