Icinga / ansible-icinga2

Ansible Role for Icinga 2
Apache License 2.0
50 stars 23 forks source link

Add basic testing with Molecule and Travis-CI #7

Closed bobapple closed 6 years ago

bobapple commented 6 years ago

closes #3

bobapple commented 6 years ago

This PR introduces Molecule as testing framework. It seems reasonable to me compared to other things I used with Puppet (Beaker) and Chef (TestKitchen). Currently it tests only some things on Centos7 and Ubuntu 16.04. Testing will be extended as necessary.

RossBarnie commented 6 years ago

Ran this locally without issue.

In terms of platform support should this role not also support the most recently released LTS version of ubuntu (18.04)?

bobapple commented 6 years ago

Yes it will support Ubuntu 18.04 as well. The intention behind this PR is to create a starting point for testing in general. It certainly needs to be completed as the role grows.