Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/molecule: ansible role tester scripts #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

StartloJ
Copy link

add ansible role test with molecule library that wrapper by tox in python, Then add README.md how to use ansible test in cmd and example to run test, detail in following line and test scenario support with:

  • python 2.7 and 3.7.
  • ansible 2.5 and up.
  • OS Ubuntu and Centos distro in docker driver.
  • yaml check syntax with yamllint library.
  • Verify Completeness flow with pytest and testinfra library, that reference in ansible task.

@StartloJ StartloJ requested a review from 3d-pro December 19, 2019 02:37
@@ -20,6 +20,12 @@ None.
roles:
- ansible-nginx

## How to run test ansible role
Use tox(virtualenv) and molecule(ansible role tester) \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please put that it also required Docker installed to run test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants