Skip to content

Commit

Permalink
Merge pull request ANXS#16 from ANXS/recent-ansible
Browse files Browse the repository at this point in the history
update for fresher ansible
  • Loading branch information
otakup0pe authored Jul 20, 2018
2 parents e98ba9b + 4d90617 commit b4e2a19
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
---
language: python
python: "2.7"
env:
matrix:
- ANSIBLE_VERSION="2.4.2.0"
- ANSIBLE_VERSION="2.4.6"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-apt python-pycurl
install:
- pip install ansible==2.2.0
- pip install ansible=="$ANSIBLE_VERSION"
script:
- echo localhost > inventory
- ansible-playbook -i inventory test.yml --syntax-check
Expand Down
4 changes: 2 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ galaxy_info:
author: pjan vandaele
company: ANXS
description: sets the hostname and FQDN
min_ansible_version: 1.3
min_ansible_version: 2.4.2.0
license: MIT
platforms:
- name: Ubuntu
Expand All @@ -15,4 +15,4 @@ galaxy_info:

dependencies:
- role: ANXS.apt
when: hostname_avahi|lower == "true"
when: hostname_avahi|lower == "true"
2 changes: 1 addition & 1 deletion test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
- 'defaults/main.yml'
- 'vars/main.yml'
tasks:
- include: 'tasks/main.yml'
- include_tasks: 'tasks/main.yml'

0 comments on commit b4e2a19

Please sign in to comment.