- job-template:
    name: 'gate-{name}-ansible-lint'
    node: '{node}'

    builders:
      - ansible-prep
      - ansible-lint-prep
      - revoke-sudo
      - gerrit-git-prep
      - ansible-syntax
      - ansible-lint

    publishers:
      - console-log

- job-template:
    name: '{pipeline}-ansible-dsvm-functional-{ostype}{job-suffix}'
    node: 'devstack-{ostype}'

    builder:
      - zuul-clone:
          project: $ZUUL_PROJECT
      # NOTE(pabelanger): We should be using the tox builder for this, however I
      # cannot see a better way of adding cd $ZUUL_PROJECT without exposing a
      # new variable to the tox builder.
      - shell: |
          #!/bin/bash -xe
          cd $ZUUL_PROJECT
          /usr/local/jenkins/slave_scripts/run-tox.sh ansible-functional

    publishers:
      - zuul-swift-upload-console-log

- job-group:
    name: 'ansible-lint-jobs'
    jobs:
      - 'gate-{name}-ansible-lint'

- job-template:
    name: 'gate-{name}-ansible-lint'
    node: '{node}'

    builders:
      - ansible-prep
      - ansible-lint-prep
      - revoke-sudo
      - gerrit-git-prep
      - ansible-syntax
      - ansible-lint

    publishers:
      - console-log

- job-template:
    name: '{pipeline}-ansible-dsvm-functional-{ostype}{job-suffix}'
    node: 'devstack-{ostype}'

    builders:
      - zuul-clone:
          project: $ZUUL_PROJECT
      # NOTE(pabelanger): We should be using the tox builder for this, however I
      # cannot see a better way of adding cd $ZUUL_PROJECT without exposing a
      # new variable to the tox builder.
      - shell: |
          #!/bin/bash -xe
          cd $ZUUL_PROJECT
          /usr/local/jenkins/slave_scripts/run-tox.sh ansible-functional

    publishers:
      - zuul-swift-upload-console-log

- job-group:
    name: 'ansible-lint-jobs'
    jobs:
      - 'gate-{name}-ansible-lint'

Fix builders typo for ansible-functional
Fix builders typo for ansible-functional

Change-Id: I45794bd8e84380a0930ee9401e0032ce37eadd7f
Signed-off-by: Paul Belanger <e7139c8e6c4ea75cc1c287ce081b2dc0f3ab39ec@redhat.com>
