From 64f8462a20373abfe696b26d530ac4918ff894d1 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 22 Jan 2017 00:18:33 +0200
Subject: [PATCH] - Added Debian Stretch as a test platform.

---
 .travis.yml    | 2 ++
 molecule.yml   | 2 ++
 tasks/main.yml | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 182a7b3..fbf0fd8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@ env:
     - platform: xenial
     - platform: trusty
     - platform: precise
+    - &stretch platform=stretch
     - platform: jessie
     - platform: wheezy
 matrix:
@@ -17,6 +18,7 @@ matrix:
     allow_failures:
         - python: "3.5"
         - env: *openbsd59
+        - env: *stretch
 cache:
   - pip
   - directories:
diff --git a/molecule.yml b/molecule.yml
index b372e85..1b3b962 100644
--- a/molecule.yml
+++ b/molecule.yml
@@ -26,6 +26,8 @@ vagrant:
     box: ubuntu/trusty32
   - name: precise
     box: hashicorp/precise32
+  - name: stretch
+    box: remram/debian-9-i386
   - name: jessie
     box: deb/jessie-i386
   - name: wheezy
diff --git a/tasks/main.yml b/tasks/main.yml
index fbde78c..2b91e0a 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', '5.9', 'xenial', 'trusty', 'precise', 'jessie', 'wheezy']
+        - ansible_distribution_release in ['6.0', '5.9', 'xenial', 'trusty', 'precise', 'stretch', 'jessie', 'wheezy']
-- 
GitLab