diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9b8c0bb..42d64d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,3 +6,4 @@ repos: - id: check-yaml - id: trailing-whitespace - id: end-of-file-fixer + exclude: ".j2$" diff --git a/states/motd/templates/motd.j2 b/states/motd/templates/motd.j2 index faac9d5..cd59606 100644 --- a/states/motd/templates/motd.j2 +++ b/states/motd/templates/motd.j2 @@ -1,2 +1,2 @@ - {{ salt['cmd.run']('figlet -w 120 '+salt['grains.get']('host')) }} +