Sfoglia il codice sorgente

Drop extra "

{"msg": "The conditional check 'item in sensu_available_checks.stdout_lines\"' failed. The error was: template error while templating string: unexpected char u'\"' at 49. String: {% if item in sensu_available_checks.stdout_lines\" %} True {% else %} False {% endif %}\n\nThe error appears to have been in '/home/travis/build/sensu/sensu-ansible/tasks/plugins.yml': line 36, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Deploy check plugins\n  ^ here\n"}
Jared 7 anni fa
parent
commit
b29c1c5407
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tasks/plugins.yml

+ 1 - 1
tasks/plugins.yml

@@ -43,7 +43,7 @@
   when:
     - sensu_available_checks is defined
     - sensu_available_checks is not skipped
-    - item in sensu_available_checks.stdout_lines"
+    - item in sensu_available_checks.stdout_lines
   with_flattened:
     - "{{ group_names }}"
   notify: restart sensu-client service