diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b9c096b..4b7006e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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-java.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 ``` diff --git a/LICENSE b/LICENSE index 4e25a26..be5b773 100644 --- a/LICENSE +++ b/LICENSE @@ -187,7 +187,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2023 Robert de Bock (robert@meinit.nl) + Copyright 2024 Robert de Bock (robert@meinit.nl) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index ee6905d..6922283 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Install and configure java on your system. |GitHub|GitLab|Downloads|Version| |------|------|---------|-------| -|[![github](https://github.com/robertdebock/ansible-role-java/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-java/actions)|[![gitlab](https://gitlab.com/robertdebock-iac/ansible-role-java/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-java)|[![downloads](https://img.shields.io/ansible/role/d/24518)](https://galaxy.ansible.com/robertdebock/java)|[![Version](https://img.shields.io/github/release/robertdebock/ansible-role-java.svg)](https://github.com/robertdebock/ansible-role-java/releases/)| +|[![github](https://github.com/robertdebock/ansible-role-java/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-java/actions)|[![gitlab](https://gitlab.com/robertdebock-iac/ansible-role-java/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-java)|[![downloads](https://img.shields.io/ansible/role/d/robertdebock/java)](https://galaxy.ansible.com/robertdebock/java)|[![Version](https://img.shields.io/github/release/robertdebock/ansible-role-java.svg)](https://github.com/robertdebock/ansible-role-java/releases/)| ## [Example Playbook](#example-playbook)