Ansible play fails with_items FOO

Viewed 43
- name: Debug msg for imagepull {{ ansible_operator_meta.name }}
  debug:
    msg: "{{ final_resource_checks_pod_status_check_filtered_image }}"

I got an error with below

 - name: Debug msg for imagepull {{ ansible_operator_meta.name }}
      ^ here
    We could be wrong, but this one looks like it might be an issue with
    missing quotes. Always quote template expression brackets when they
    start a value. For instance:
  
        with_items:
          - {{ foo }}
  
    Should be written as:
  
        with_items:
          - "{{ foo }}"
0 Answers
Related