73138475dc
- 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>
18 lines
431 B
ReStructuredText
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
|