diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 861b4a2755340cf52a8a3e70b64886010ba2dc24..cd92611c09046e7872c53407ba736ec1cf4ed0e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: - id: j2lint name: Jinja2-Linter args: - - templates/*.j2 + - templates # https://github.com/jackdewinter/pymarkdown/releases - repo: https://github.com/jackdewinter/pymarkdown.git rev: v0.9.15 diff --git a/templates/php.j2 b/templates/php.j2 index d4ddb3a68f5ec456007e23072d5ecd08de976154..4ed0359f4c9b4d8dba13e36fabce9db4e8308f99 100644 --- a/templates/php.j2 +++ b/templates/php.j2 @@ -1,4 +1,5 @@ ; {{ ansible_managed }} +; {# j2lint: disable=jinja-statements-indentation #} {% for php_section in php_conf_file_proposed_vars | dict2items %} [{{ php_section.key }}] diff --git a/templates/php.pref.j2 b/templates/php.pref.j2 index 7037c4e9746e57b90073c7ac678254945f0104fc..f008a71e897e7fd9d90a12716aca4f640e5980e3 100644 --- a/templates/php.pref.j2 +++ b/templates/php.pref.j2 @@ -1,4 +1,5 @@ # {{ ansible_managed }} +# {# j2lint: disable=jinja-statements-indentation #} {% if ansible_distribution_release == "bullseye" %} {% for pkg in php_debian_bullseye_pkg %}