browbeat/ansible/README.testing.rst
Charles Short 73138475dc Add molecule infrastructure
- Add molecule support to test ansible roles.
- Also fix flake8 failures.
- Also drop python36 from the templates

Change-Id: Ib647d93144a02a6be7340991c31f65842fdf3f29
Signed-off-by: Charles Short <chucks@redhat.com>
2019-12-16 08:11:35 -05:00

18 lines
431 B
ReStructuredText

Running browebat ansible unit tests
===================================
Running ansible molecule unit tests
-----------------------------------
- Ensure that you have docker installed:
https://docs.docker.com/install/
- Run tox -e molecule
Adding ansible molecue unit test
--------------------------------
- cd ansible/install/roles/<example role>
molecule init scenario --role-name <example role> --driver-name docker