diff --git a/defaults/main.yml b/defaults/main.yml index a39e621..27edaa6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -29,3 +29,5 @@ molecule_action: "robertdebock/molecule-action@6.0.0" # Would you like to add a sponsor message? sponsor message: yes +# A custom message can be placed with this content. +custom_message: "Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles." diff --git a/templates/README.md.j2 b/templates/README.md.j2 index e213381..21aa4bc 100644 --- a/templates/README.md.j2 +++ b/templates/README.md.j2 @@ -20,7 +20,7 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr {{ prepare.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}``` {% endif %} -Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles. +{% custom_message %} {% if variables.content is defined %} ## [Role Variables](#role-variables)