File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed
Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 11---
22language : python
33python : " 2.7"
4+ env :
5+ matrix :
6+ - ANSIBLE_VERSION="2.3"
7+ - ANSIBLE_VERSION="2.7"
48before_install :
59 - sudo apt-get update -qq
610 - sudo apt-get install -qq python-apt python-pycurl
711install :
8- - pip install ansible==2.2.0
12+ - pip install ansible=="$ANSIBLE_VERSION"
913script :
1014 - echo localhost > inventory
1115 - ansible-playbook -i inventory test.yml --syntax-check
@@ -15,3 +19,5 @@ script:
1519 | grep -q 'changed=0.*failed=0'
1620 && (echo 'Idempotence test: pass' && exit 0)
1721 || (echo 'Idempotence test: fail' && exit 1)
22+ notifications :
23+ webhooks : https://galaxy.ansible.com/api/v1/notifications/
Original file line number Diff line number Diff line change 1- ## ANXS - python [ ![ Build Status] ( https://travis-ci.org /ANXS/python.png )] ( https://travis-ci.org /ANXS/python )
1+ ## ANXS - python [ ![ Build Status] ( https://travis-ci.com /ANXS/python.png )] ( https://travis-ci.com /ANXS/python )
22
33Ansible 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments