diff --git a/.molecule/group_vars/all b/.molecule/group_vars/all
new file mode 100644
index 0000000000000000000000000000000000000000..b5dce2f7aeb7225bea7a972bcb406ba3cca1b26d
--- /dev/null
+++ b/.molecule/group_vars/all
@@ -0,0 +1,3 @@
+five: 5
+six: 6
+eleven: '{{ five + six }}'
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index baae9a96c2f06c925eee68b23e4452802cf6e478..6274aa01b223aa43f1be946e2da2470f5d90e446 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,5 +1,5 @@
-- repo: git://github.com/pre-commit/pre-commit-hooks
- sha: 6b1aa19425b35f8c34f43ada8f1045b028dc19a5
+- repo: https://github.com/pre-commit/pre-commit-hooks
+ sha: 6dfcb89af3c9b4d172cc2e5a8a2fa0f54615a338
hooks:
- id: check-added-large-files
- id: check-json
@@ -7,7 +7,6 @@
- id: check-yaml
- id: check-merge-conflict
- repo: https://www.shore.co.il/git/ansible-pre-commit/
- sha: 4c651d686a9a88f9ec65d9490897fee71cdce98d
+ sha: 94b506c144d4e22ebc1deef637a818db13bcaca5
hooks:
- id: ansible-pre-commit
- files: tests/playbook.yml
diff --git a/README.rst b/README.rst
index da98da3d0e48812a8a2bbfca2b6a28862ae08092..25bace670c791cf31f12655bef030f24e08b73ec 100644
--- a/README.rst
+++ b/README.rst
@@ -6,16 +6,12 @@ Install UFW, set default policy and allow but limit ssh traffic.
Requirements
------------
-- `Ansible 2.0 or later `_.
-- `Debian Jessie `_ (other versions and Debian based
- distros should work but aren't tested).
+See :code:`meta/main.yml` and assertions at top of :code:`tasks/main.yml`.
Role Variables
--------------
-.. code:: yaml
-
- ufw_policy: reject # Default policy, check ufw module for options.
+See :code:`defaults/main.yml`.
Dependencies
------------
diff --git a/defaults/main.yml b/defaults/main.yml
index 17b54742741e8b7da2286583f6a62473412e8787..366ee82e2e64a807228f00df2f7e59fe29271cef 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -1,4 +1,4 @@
---
# defaults file for ansible-role-ufw
-ufw_policy: reject
+ufw_policy: reject # Default policy, check ufw module for options.
diff --git a/molecule.yml b/molecule.yml
index b0c451f51ff5fd2ff651839911683b32d73611a6..049646d69d13ac96bc259ed995ad6922a1f394f9 100644
--- a/molecule.yml
+++ b/molecule.yml
@@ -9,6 +9,9 @@ molecule:
ansible_config_template: ansible.cfg
vagrant:
+ providers:
+ - name: virtualbox
+ type: virtualbox
platforms:
- name: debian
box: debian/jessie64