Any idea how can I fix the below error?
tasks:
- name: check the state (primary/secondary/standalone)
asa_command:
commands:
- 'show version | i "{{ OldImage }}"'
register: state
- include: reboot.yml
when: '"{{ OldImage }}" in state.stdout'
Error I'm receiving:
TASK [include]
*********************************************************************************************************************
[WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: "{{ OldImage }}" in
state.stdout
skipping: [Fw4Script-01.tor.bellnhs.int]
[WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: "{{ OldImage }}" in
state.stdout
skipping: [Fw4Script-02.tor.bellnhs.int]
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/3b91c781-95da-4322-95d8-e273b40a7aaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.