aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Riteau <pierre@stackhpc.com>2022-09-26 10:16:53 +0200
committerPierre Riteau <pierre@stackhpc.com>2022-09-26 10:16:53 +0200
commite890f161ed205ad1f181f55cecb2d66ffee5f142 (patch)
tree99ff9bf6bcc87eb9121b3b89a23098b0eeb5f5f0
parent1aac65de0c60e6aef543995d42ff0ccd56f664d5 (diff)
downloadkolla-ansible-e890f161ed205ad1f181f55cecb2d66ffee5f142.tar.gz
kolla-ansible-e890f161ed205ad1f181f55cecb2d66ffee5f142.zip
CI: allow Jinja templating anywhere inside task and play names
With the release of ansible-lint 6.7.0, the openstack-tox-linters job started failing with these errors: WARNING Listing 30 violation(s) that are fatal ansible/roles/ceilometer/tasks/config.yml:66: name: Jinja templates should only be at the end of 'name' (name[template]) [...] Add this new check to skip_list for now. Change-Id: Ia82a88ee3b9bb6a3cb09f09c6568d1914ee2592d
-rw-r--r--.ansible-lint2
1 files changed, 2 insertions, 0 deletions
diff --git a/.ansible-lint b/.ansible-lint
index f7f85d2bc..c49cf2af6 100644
--- a/.ansible-lint
+++ b/.ansible-lint
@@ -28,3 +28,5 @@ skip_list:
# NOTE(frickler): Agreed at Zed PTG not to use FQCN for builtin actions for now, due to
# conflicts with open patches and backports.
- fqcn-builtins
+ # Allow Jinja templating inside task and play names
+ - name[template]