Skip to content

Commit

Permalink
Allow multi-line banners
Browse files Browse the repository at this point in the history
Currently a multi-line banner will cause the YAML file to be invalid. This change ensures a valid YAML format without changing behavior.

Signed-off-by: tomi-bigpi <[email protected]>
  • Loading branch information
tomi-bigpi authored Sep 29, 2023
1 parent a902c1d commit d026551
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/ansible_vars_goss.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ ubtu22cis_apparmor_disable: {{ ubtu22cis_apparmor_disable }}
ubtu22cis_apparmor_enforce_only: {{ ubtu22cis_apparmor_enforce_only }}

# Warning Banner Content (issue, issue.net, motd)
ubtu22_warning_banner: {{ ubtu22cis_warning_banner }}
ubtu22_warning_banner: |
{{ ubtu22cis_warning_banner|indent(2, false) }}
# End Banner

# Section 2
Expand Down

0 comments on commit d026551

Please sign in to comment.