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:
parent
c08709023f
commit
e15930bcc6
@ -1,9 +1,10 @@
|
|||||||
|
# TODO(yolanda): Pin to 1.9.4 since ansible-lint does not support 2.0
|
||||||
- job-template:
|
- job-template:
|
||||||
name: 'gate-{name}-ansible-lint'
|
name: 'gate-{name}-ansible-lint'
|
||||||
node: '{node}'
|
node: '{node}'
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
- ansible-prep
|
- ansible-prep-pinned
|
||||||
- ansible-lint-prep
|
- ansible-lint-prep
|
||||||
- revoke-sudo
|
- revoke-sudo
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
|
@ -335,6 +335,14 @@
|
|||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
sudo -H pip install -U ansible
|
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:
|
- builder:
|
||||||
name: ansible-syntax
|
name: ansible-syntax
|
||||||
builders:
|
builders:
|
||||||
|
Loading…
Reference in New Issue
Block a user