Skip to content

Commit 819a465

Browse files
committed
Bump minimal Ansible version to 1.9.6
1 parent 23d78b5 commit 819a465

File tree

4 files changed

+9
-29
lines changed

4 files changed

+9
-29
lines changed

.travis.yml

+6-26
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ python: "2.7"
77

88
env:
99
- ANSIBLE_VERSION=latest
10+
- ANSIBLE_VERSION=2.2.1.0
1011
- ANSIBLE_VERSION=2.2.0.0
12+
- ANSIBLE_VERSION=2.1.4
1113
- ANSIBLE_VERSION=2.1.3
1214
- ANSIBLE_VERSION=2.1.2
1315
- ANSIBLE_VERSION=2.1.1.0
@@ -18,31 +20,6 @@ env:
1820
- ANSIBLE_VERSION=2.0.0.1
1921
- ANSIBLE_VERSION=2.0.0.0
2022
- ANSIBLE_VERSION=1.9.6
21-
- ANSIBLE_VERSION=1.9.5
22-
- ANSIBLE_VERSION=1.9.4
23-
- ANSIBLE_VERSION=1.9.3
24-
- ANSIBLE_VERSION=1.9.2
25-
- ANSIBLE_VERSION=1.9.1
26-
- ANSIBLE_VERSION=1.9.0.1
27-
- ANSIBLE_VERSION=1.8.4
28-
- ANSIBLE_VERSION=1.8.3
29-
- ANSIBLE_VERSION=1.8.2
30-
- ANSIBLE_VERSION=1.8.1
31-
- ANSIBLE_VERSION=1.8
32-
- ANSIBLE_VERSION=1.7.2
33-
- ANSIBLE_VERSION=1.7.1
34-
- ANSIBLE_VERSION=1.7
35-
- ANSIBLE_VERSION=1.6.9
36-
- ANSIBLE_VERSION=1.6.8
37-
- ANSIBLE_VERSION=1.6.7
38-
- ANSIBLE_VERSION=1.6.6
39-
- ANSIBLE_VERSION=1.6.5
40-
- ANSIBLE_VERSION=1.6.4
41-
- ANSIBLE_VERSION=1.6.3
42-
- ANSIBLE_VERSION=1.6.2
43-
- ANSIBLE_VERSION=1.6.10
44-
- ANSIBLE_VERSION=1.6.1
45-
- ANSIBLE_VERSION=1.6
4623

4724
branches:
4825
only:
@@ -53,7 +30,8 @@ before_install:
5330

5431
install:
5532
# Install Ansible.
56-
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install --no-binary ansible ansible; else pip install --no-binary ansible ansible==$ANSIBLE_VERSION; fi
33+
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
34+
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible-lint; fi
5735

5836
script:
5937
# Check the role/playbook's syntax.
@@ -69,6 +47,8 @@ script:
6947
&& (echo 'Idempotence test: pass' && exit 0)
7048
|| (echo 'Idempotence test: fail' && exit 1)
7149
50+
- if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true; fi
51+
7252
notifications:
7353
email: false
7454
hipchat:

meta/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ galaxy_info:
55
company: Oefenweb.nl B.V.
66
description: Set up (the latest version of) virtualenv(wrapper) in Debian-like systems
77
license: MIT
8-
min_ansible_version: 1.6
8+
min_ansible_version: 1.9.6
99
platforms:
1010
- name: Ubuntu
1111
versions:

tests/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
- hosts: localhost
44
connection: local
5-
sudo: true
5+
become: true
66
pre_tasks:
77
- include: pre.yml
88
roles:

tests/vagrant.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
- hosts: all
44
remote_user: vagrant
5-
sudo: true
5+
become: true
66
pre_tasks:
77
- include: pre.yml
88
roles:

0 commit comments

Comments
 (0)