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

299 views
Skip to first unread message

Nico K.

unread,
Nov 19, 2014, 7:42:08 AM11/19/14
to ansible...@googlegroups.com
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

Dick Davies

unread,
Nov 19, 2014, 8:13:25 AM11/19/14
to ansible list
Hit this yesterday - are you using a Git checkout? see the readme,
you'll need to pull submodules as well.
> --
> 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 ansible-proje...@googlegroups.com.
> To post to this group, send email to ansible...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/96244db9-da88-489c-aa70-869550fd724e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages