Skip to content

Chang detection does not work with ansible 2.9.1 #9

@thomasfinstad

Description

@thomasfinstad

When running with ansbile 2.9.1 the following error occurs.

fatal: [srv01]: FAILED! => {"msg": "The conditional check '(item|changed and not apparmor__register_tunables|changed)' failed. The error was: template error while templating string: no filter named 'changed'. String: {% if (item|changed and not apparmor__register_tunables|changed) %} True {% else %} False {% endif %}\n\nThe error appears to be in '/home/thomas/code/escapehat-iac/ansible/current/include/default/debops-contrib.apparmor/tasks/main.yml': line 135, 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: Reload changed profiles\n  ^ here\n"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions