ERROR: set_fact is not a legal parameter in an Ansible task or handler

Hi,

I just updated my ansible environment to the latest version, however my playbooks now no longer run.
When trying to run it I get: “ERROR: set_fact is not a legal parameter in an Ansible task or handler”.

This ‘set_fact’ is performed within a role.

roles/somerole/tasks/main.yml:

  • set_fact:
    some_fact: whatever
    when: some_clause

Is this no longer supported?

Regards,
Nico

Hit this yesterday - are you using a Git checkout? see the readme,
you'll need to pull submodules as well.