Skip to content

Commit 3d751ae

Browse files
committed
Bump minimal Ansible version to 1.9.6
1 parent 6a3c2ff commit 3d751ae

4 files changed

Lines changed: 9 additions & 29 deletions

File tree

.travis.yml

Lines changed: 6 additions & 26 deletions
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:
@@ -56,7 +33,8 @@ before_install:
5633

5734
install:
5835
# Install Ansible.
59-
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install --no-binary ansible ansible; else pip install --no-binary ansible ansible==$ANSIBLE_VERSION; fi
36+
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
37+
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible-lint; fi
6038

6139
script:
6240
# Check the role/playbook's syntax.
@@ -72,6 +50,8 @@ script:
7250
&& (echo 'Idempotence test: pass' && exit 0)
7351
|| (echo 'Idempotence test: fail' && exit 1)
7452
53+
- if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true; fi
54+
7555
notifications:
7656
email: false
7757
hipchat:

meta/main.yml

Lines changed: 1 addition & 1 deletion
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 or a specific version of supervisor in Ubuntu 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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)