You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: Generate updated grub2.cfg
command: grub2-mkconfig -o /etc/grub2.cfg
when: result|changed ####### this line seems to be the error
fatal: [xx.xx.xxx.x]: FAILED! => {"msg": "The conditional check 'result|changed' failed. The error was: template error while templating string: no filter named 'changed'. String: {% if result|changed %} True {% else %} False {% endif %}\n\nThe error appears to be in '/root/potheba/provisioning-onprem/kubernetes/cluster-build/ansible/roles/disable-swap/tasks/main.yml': line 29, 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: Generate updated grub2.cfg\n ^ here\n"}
when using result|changed filter
The text was updated successfully, but these errors were encountered:
command: grub2-mkconfig -o /etc/grub2.cfg
when: result|changed ####### this line seems to be the error
fatal: [xx.xx.xxx.x]: FAILED! => {"msg": "The conditional check 'result|changed' failed. The error was: template error while templating string: no filter named 'changed'. String: {% if result|changed %} True {% else %} False {% endif %}\n\nThe error appears to be in '/root/potheba/provisioning-onprem/kubernetes/cluster-build/ansible/roles/disable-swap/tasks/main.yml': line 29, 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: Generate updated grub2.cfg\n ^ here\n"}
when using result|changed filter
The text was updated successfully, but these errors were encountered: