Temporarily pin to ansible==1.9.4

New ansible 2.0 doesn't support ansible-lint

This is shown on https://github.com/willthames/ansible-lint/issues/75,
and is breaking our ansible-lint tests.

Change-Id: I3eef420084104eead1fb24eb537723214296fa5d
This commit is contained in:
Yolanda Robla 2016-01-13 12:53:05 +01:00
parent c08709023f
commit e15930bcc6
2 changed files with 10 additions and 1 deletions

View File

@ -1,9 +1,10 @@
# TODO(yolanda): Pin to 1.9.4 since ansible-lint does not support 2.0
- job-template:
name: 'gate-{name}-ansible-lint'
node: '{node}'
builders:
- ansible-prep
- ansible-prep-pinned
- ansible-lint-prep
- revoke-sudo
- gerrit-git-prep

View File

@ -335,6 +335,14 @@
#!/bin/bash -xe
sudo -H pip install -U ansible
# TODO (yolanda): Pin to 1.9.4 since ansible-lint does not support 2.0
- builder:
name: ansible-prep-pinned
builders:
- shell: |
#!/bin/bash -xe
sudo -H pip install -U ansible==1.9.4
- builder:
name: ansible-syntax
builders: