Skip to content

Commit

Permalink
Prepare meta for the full purpose, add Vagrant tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Nov 5, 2018
1 parent b29b09d commit d461113
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ If you find issues, please register them in [GitHub](https://github.com/robertde

To test this role locally please use [Molecule](https://github.com/metacloud/molecule):
```
pip install molecule
# Docker test:
pip install molecule ara
molecule test
# Vagrant tests
molecule test --scenario-name vagrant
```
There are many scenarios available, please have a look in the `molecule/` directory.

Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
galaxy_info:
author: Robert de Bock
role_name: {{ role_name }}
description: Provides {{ role_name }} for your system
description: The purpose of this role is to install and configure {{ role_name on your system.
license: Apache-2.0
company: none
min_ansible_version: 2.5
Expand Down
1 change: 0 additions & 1 deletion meta/purpose.txt.j2

This file was deleted.

3 changes: 3 additions & 0 deletions molecule/default/molecule.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ provisioner:
name: ansible
lint:
name: ansible-lint
config_options:
defaults:
callback_plugins: /usr/lib/python2.7/site-packages/ara/plugins/callbacks
scenario:
name: default
verifier:
Expand Down
3 changes: 3 additions & 0 deletions molecule/vagrant/molecule.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ provisioner:
name: ansible
lint:
name: ansible-lint
config_options:
defaults:
callback_plugins: /usr/lib/python2.7/site-packages/ara/plugins/callbacks
scenario:
name: vagrant
verifier:
Expand Down

0 comments on commit d461113

Please sign in to comment.