Skip to content

Latest commit

 

History

History
76 lines (43 loc) · 2.8 KB

CONTRIBUTING.md

File metadata and controls

76 lines (43 loc) · 2.8 KB

You can really make a difference by:

I'll try to help and take every contribution seriously.

It's a great opportunity for me to learn how you use the role and also an opportunity to get into the habit of contributing to open source software.

Here is how you can help, a lot of steps are related to GitHub, not specifically my roles.

When you spot an issue, create an issue.

Making the issue help me and others to find similar problems in the future.

On the top right side of the repository on GitHub, click fork. This copies everything to your GitHub namespace.

In you own GitHub namespace, make the required changes.

I typically do that by cloning the repository (in your namespace) locally:

git clone [email protected]:YOURNAMESPACE/ansible-role-lynis.git

Now you can start to edit on your laptop.

Install molecule and Tox:

pip install molecule tox ansible-lint docker

And run molecule test. If you want to test a specific distribution, set image and optionally tag:

image=centos tag=7 molecule test

Once it start to work, you can test multiple version of Ansible:

image=centos tag=7 tox

You can use Ansible Generator to regenerate all dynamic content.

If you don't do it, I'll do it later for you.

GitHub on pull requests.

In the comment-box, you can refer to the issue number by using #123, where 123 is the issue number.

Now I'll get a message that you've added some code. Thank you, really.

CI starts to test your changes. You can follow the progress on Travis.

Please consider sponsoring me.