From bb50e878ce6f7a5aec425d952cc69951a08cf461 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Mon, 7 Feb 2022 14:23:30 +0100 Subject: [PATCH] Also for roles that have no requirements. --- templates/README.md.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/README.md.j2 b/templates/README.md.j2 index 310253e..66ba791 100644 --- a/templates/README.md.j2 +++ b/templates/README.md.j2 @@ -32,7 +32,7 @@ The default values for the variables are set in `defaults/main.yml`: - pip packages listed in [requirements.txt](https://github.com/{{ github_namespace }}/ansible-role-{{ role_name }}/blob/master/requirements.txt). -{% if requirements is defined %} +{% if requirements is defined and requirements.roles is defined %} ## [Status of used roles](#status-of-requirements) The following roles are used to prepare a system. You can prepare your system in another way.