From da215004e80984f94ca77708a654938fc7951eb9 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Mon, 18 Dec 2023 10:34:42 +0100 Subject: [PATCH] Lint issues fixed. --- templates/CONTRIBUTING.md.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/CONTRIBUTING.md.j2 b/templates/CONTRIBUTING.md.j2 index 33b910e..55bedf7 100644 --- a/templates/CONTRIBUTING.md.j2 +++ b/templates/CONTRIBUTING.md.j2 @@ -29,7 +29,7 @@ In you own GitHub namespace, make the required changes. I typically do that by cloning the repository (in your namespace) locally: -``` +```shell git clone git@github.com:YOURNAMESPACE/ansible-role-{{ role_name }}.git ``` @@ -39,19 +39,19 @@ Now you can start to edit on your laptop. Install [molecule](https://molecule.readthedocs.io/en/stable/) and [Tox](https://tox.readthedocs.io/): -``` +```shell pip install molecule tox ansible-lint docker ``` And run `molecule test`. If you want to test a specific distribution, set `image` and optionally `tag`: -``` +```shell image=centos tag=7 molecule test ``` Once it start to work, you can test multiple version of Ansible: -``` +```shell image=centos tag=7 tox ```