Skip to content
This repository was archived by the owner on Nov 12, 2020. It is now read-only.

Commit 09509eb

Browse files
author
Christian Berendt
committed
Add focal support & drop ansible 2.7 support
1 parent 5d00d9f commit 09509eb

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
- stage: run tests
1414
script: tox -e $TOX_ENV
1515
env:
16-
- TOX_ENV=ansible27-xenial
16+
- TOX_ENV=ansible28-bionic
1717
python: 3.6
1818
- stage: run tests
1919
script: tox -e $TOX_ENV
2020
env:
21-
- TOX_ENV=ansible27-bionic
21+
- TOX_ENV=ansible28-focal
2222
python: 3.6
2323
- stage: run tests
2424
script: tox -e $TOX_ENV
@@ -28,17 +28,17 @@ jobs:
2828
- stage: run tests
2929
script: tox -e $TOX_ENV
3030
env:
31-
- TOX_ENV=ansible28-bionic
31+
- TOX_ENV=ansible29-bionic
3232
python: 3.6
3333
- stage: run tests
3434
script: tox -e $TOX_ENV
3535
env:
36-
- TOX_ENV=ansible29-xenial
36+
- TOX_ENV=ansible29-focal
3737
python: 3.6
3838
- stage: run tests
3939
script: tox -e $TOX_ENV
4040
env:
41-
- TOX_ENV=ansible29-bionic
41+
- TOX_ENV=ansible29-xenial
4242
python: 3.6
4343
- stage: post processing
4444
python: 3.6

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[![Build Status](https://travis-ci.org/osism/ansible-hosts.svg?branch=master)](https://travis-ci.org/osism/ansible-hosts)
44
[![Ansible Galaxy](https://img.shields.io/badge/Ansible%20Galaxy-osism.hosts-blue.svg)](https://galaxy.ansible.com/osism/hosts/)
5-
![Ansible 2.7](https://img.shields.io/badge/Ansible-2.7-green.png?style=flat)
65
![Ansible 2.8](https://img.shields.io/badge/Ansible-2.8-green.png?style=flat)
7-
![Ansible 2.9](https://img.shields.io/badge/Ansible-2.9-green.png?style=flat)
8-
![Ubuntu 16.04](https://img.shields.io/badge/Ubuntu-16.04-orange.png?style=flat)
6+
![Ansible .2.9](https://img.shields.io/badge/Ansible-.2.9-green.png?style=flat)
97
![Ubuntu 18.04](https://img.shields.io/badge/Ubuntu-18.04-orange.png?style=flat)
8+
![Ubuntu 20.04](https://img.shields.io/badge/Ubuntu-20.04-orange.png?style=flat)
9+
![Ubuntu 16.04](https://img.shields.io/badge/Ubuntu-16.04-orange.png?style=flat)
1010

1111
License
1212
-------

meta/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ galaxy_info:
44
description: Role osism.hosts
55
company: Betacloud Solutions GmbH
66
license: Apache License 2.0
7-
min_ansible_version: 2.7
7+
min_ansible_version: 2.8
88
platforms:
99
- name: Ubuntu
1010
versions:
1111
- bionic
12+
- focal
1213
- xenial
1314
galaxy_tags:
1415
- system

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[tox]
22
skipsdist = true
3-
envlist = ansible{27,28,29}-{bionic,xenial}
3+
envlist = ansible{28,29}-{bionic,focal,xenial}
44

55
[testenv]
66
basepython = python3
77
passenv = *
88

99
deps =
10-
ansible27: ansible>=2.7.0,<2.8
1110
ansible28: ansible>=2.8.0,<2.9,!=2.8.9
1211
ansible29: ansible>=2.9.0,<2.10
1312
-rtest-requirements.txt
1413

1514
setenv =
16-
xenial: MOLECULE_IMAGE=Ubuntu 16.04
1715
bionic: MOLECULE_IMAGE=Ubuntu 18.04
16+
focal: MOLECULE_IMAGE=Ubuntu 20.04
17+
xenial: MOLECULE_IMAGE=Ubuntu 16.04
1818
MOLECULE_EPHEMERAL_DIRECTORY={homedir}/.molecule/{envname}
1919
TOX_ENV_NAME={envname}
2020
TRAVIS_JOB_ID={env:TRAVIS_JOB_ID:0}

0 commit comments

Comments
 (0)