From 9e614caf03e61310bcf06a746cf22bff3788d393 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 8 Oct 2016 14:54:58 +0300
Subject: [PATCH] - Upgraded to a newer version of Molecule (1.12.4) and fixed
 the following   issues:   - Missed a blank line between tests in
 `tests/test_example.py`.   - Named the assertions task. - Updated the OpenBSD
 Vagrant box to 6.0, updated assertion accordingly.

---
 meta/main.yml         | 2 +-
 molecule.yml          | 2 +-
 tasks/main.yml        | 5 +++--
 tests/test_example.py | 1 +
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/meta/main.yml b/meta/main.yml
index e22f4e8..0e2311d 100644
--- a/meta/main.yml
+++ b/meta/main.yml
@@ -12,4 +12,4 @@ galaxy_info:
 dependencies:
     - src: https://www.shore.co.il/git/ansible-role-openbsd-bootstrap
       scm: git
-      name: bootstrap
+      role: bootstrap
diff --git a/molecule.yml b/molecule.yml
index 0e6fa47..a62eaa4 100644
--- a/molecule.yml
+++ b/molecule.yml
@@ -14,7 +14,7 @@ vagrant:
     type: virtualbox
   platforms:
   - name: openbsd
-    box: kaorimatz/openbsd-5.9-amd64
+    box: kaorimatz/openbsd-6.0-amd64
   instances:
   - name: ansible-role-example
     options:
diff --git a/tasks/main.yml b/tasks/main.yml
index 066751c..d519beb 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -1,7 +1,8 @@
 ---
 # tasks file for ansible-role-example
 
-- assert:
+- name: Assertions
+  assert:
     that:
         - ansible_os_family == 'OpenBSD'
-        - ansible_distribution_release == '5.9'
+        - ansible_distribution_release == '6.0'
diff --git a/tests/test_example.py b/tests/test_example.py
index a38c7ba..12d4c7a 100644
--- a/tests/test_example.py
+++ b/tests/test_example.py
@@ -1,6 +1,7 @@
 def test_example(Command):
     assert Command('uname').rc == 0
 
+
 def test_root(Command, Sudo):
     with Sudo():
         assert Command('whoami').stdout == 'root'
-- 
GitLab