From 9c7c7194e52ac457d4eefd12edb9cd977d3353cd Mon Sep 17 00:00:00 2001 From: thespad Date: Sun, 1 Dec 2024 14:39:44 +0000 Subject: [PATCH] Fix missing endifs --- roles/generate-jenkins/templates/DOCUMENTATION.j2 | 1 + roles/generate-jenkins/templates/README.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/generate-jenkins/templates/DOCUMENTATION.j2 b/roles/generate-jenkins/templates/DOCUMENTATION.j2 index eea9ca14..b94206ff 100644 --- a/roles/generate-jenkins/templates/DOCUMENTATION.j2 +++ b/roles/generate-jenkins/templates/DOCUMENTATION.j2 @@ -190,6 +190,7 @@ Containers are configured using parameters passed at runtime (such as those abov {% for item in opt_cap_add_param_vars %} | `--cap-add={{ item.cap_add_var }}` | {{ item.desc }} | {% endfor %} +{% endif %} {% if nonroot_supported is defined and nonroot_supported %} | `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). | {% endif %} diff --git a/roles/generate-jenkins/templates/README.j2 b/roles/generate-jenkins/templates/README.j2 index b9eaa0fb..d62f713d 100644 --- a/roles/generate-jenkins/templates/README.j2 +++ b/roles/generate-jenkins/templates/README.j2 @@ -159,6 +159,7 @@ Containers are configured using parameters passed at runtime (such as those abov {% for item in opt_cap_add_param_vars %} | `--cap-add={{ item.cap_add_var }}` | {{ item.desc }} | {% endfor %} +{% endif %} {% if nonroot_supported is defined and nonroot_supported %} | `--user=1000:1000` | Run container with a non-root user. Please [read the docs](https://docs.linuxserver.io/misc/non-root/). | {% endif %}