diff --git a/.travis.yml b/.travis.yml index 7571a55871578a7a3e6fe45847a0be059e3b6720..17e77d2cb0d93e734ee561f45b448d4c31ed65dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,15 +6,27 @@ sudo: True group: beta services: [docker] env: - - platform: openbsd + - platform: openbsd60 + driver: vagrant + - platform: openbsd59 driver: vagrant - platform: xenial driver: vagrant + - platform: trusty + driver: vagrant + - platform: jessie + driver: vagrant + - platform: wheezy + driver: vagrant - driver: docker platform: all matrix: + fast_finish: True allow_failures: - python: "3.5" + - env: platform=openbsd59 driver=vagrant + - env: platform=jessie driver=vagrant + - env: platform=wheezy driver=vagrant cache: - pip - directories: diff --git a/molecule.yml b/molecule.yml index 9b2da0df72cd3b3588411494b4f0855292232093..76623fbf0525766456018a351b90a1f0c96eeaeb 100644 --- a/molecule.yml +++ b/molecule.yml @@ -16,10 +16,18 @@ vagrant: options: cpus: 1 platforms: - - name: openbsd + - name: openbsd60 box: fnichol/openbsd-6.0-i386 + - name: openbsd59 + box: fnichol/openbsd-5.9-i386 - name: xenial box: ubuntu/xenial32 + - name: trusty + box: ubuntu/trusty32 + - name: jessie + box: debian/jessie32 + - name: wheezy + box: debian/wheezy32 instances: - name: example options: diff --git a/tasks/main.yml b/tasks/main.yml index 6784821deee6cb0db41de18ee53b6e04ce43ea01..811069eb5756ec0c7b051652b35347bd1ecc804a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -5,4 +5,4 @@ assert: that: - ansible_os_family in ['OpenBSD', 'Debian'] - - ansible_distribution_release in ['6.0', 'xenial'] + - ansible_distribution_release in ['6.0', '5.9', 'xenial', 'trusty', 'jessie', 'wheezy'] diff --git a/tests/playbook.yml b/tests/playbook.yml index d372ad3a14e82e447cc58a77f5a435c1e65e736b..10beeb2eec9f631d1daabcb1aa0e1dd0121821cc 100644 --- a/tests/playbook.yml +++ b/tests/playbook.yml @@ -1,5 +1,5 @@ --- -- hosts: example-openbsd +- hosts: example-openbsd* gather_facts: false roles: [openbsd-bootstrap]