Skip to content

Commit f018c03

Browse files
committed
freshen ansible
1 parent e44b44a commit f018c03

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
---
22
language: python
33
python: "2.7"
4+
env:
5+
matrix:
6+
- ANSIBLE_VERSION="2.3"
7+
- ANSIBLE_VERSION="2.7"
48
before_install:
59
- sudo apt-get update -qq
610
- sudo apt-get install -qq python-apt python-pycurl
711
install:
8-
- pip install ansible==2.2.0
12+
- pip install ansible=="$ANSIBLE_VERSION"
913
script:
1014
- echo localhost > inventory
1115
- ansible-playbook -i inventory test.yml --syntax-check

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Ansible role which installs python, pip, setuptools and virtualenv
44

55

66
#### Requirements & Dependencies
7-
- Tested on Ansible 1.4 or higher.
7+
- Tested on Ansible 2.3 or higher.
88

99

1010
#### Variables

meta/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ galaxy_info:
44
author: pjan vandaele
55
company: ANXS
66
description: "Installs python, pip, setuptools and virtualenv"
7-
min_ansible_version: 1.4
7+
min_ansible_version: 2.3
88
license: MIT
99
platforms:
1010
- name: Ubuntu

tasks/package.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
- name: python | Make sure the packages are installed (Debian)
77
apt:
8-
pkg: "{{item}}"
8+
pkg: "{{python_packages}}"
99
state: present
10-
with_items: "{{ python_packages }}"
1110
when: ansible_os_family == "Debian"

0 commit comments

Comments
 (0)