lae / ansible-role-travis-lxc

Ansible role that prepares a Travis CI environment and creates LXC containers for testing roles.
MIT License
4 stars 2 forks source link

Added support for Debian Stretch and Ubuntu Precise #8

Closed wilmardo closed 7 years ago

wilmardo commented 7 years ago

First off, thanks for the awesome role! I was looking for exactly this :)

As the title says I added support for Debian Stretch (9) and Ubuntu Precise (12.04). I copied the configuration as they were for Ubuntu 14.04 and Debian 8 and edited the titles. Have not run into an issue yet. You can see them working here (https://travis-ci.org/wilmardo/ansible-role-plex/builds/267522738) and they work flawless.

The documentation is a bit sparse but after some digging I got everything working fine. Is it cool if I rework your documentation a bit? (If I still have time left ;))

lae commented 7 years ago

Yeah, I agree the documentation is a bit sparse. I was planning on writing some later but still haven't gotten around to using it - I'll gladly take any help though.

Do you think you could add tests for the two distros? Basically add them to .travis.yml under env.

wilmardo commented 7 years ago

Tests are added in the .travis.yml under env Hopefully later this week I will write up some documentation, I made some notes of where I was struggling to figure out what to do. I hope to clarify these for future users :)

lae commented 7 years ago

@wilmardo merged, v0.3.6 should be available in Ansible Galaxy once tests complete. Thanks!