>
> Hi
>
*notify* action is triggered when task have made a change on the remote
system.
Seems you problem is that* set_fact* module doesn't make changes on the
remote server. Try to use *changed_when* with *set_fact *module
- name: Store fact into role variable
set_fact:
important_fact: "fact"
changed_when: "important_fact=='fact'"
notify: fact stored
hope this helps
--
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/3682819b-55dd-48af-b8e9-a5b39bd9452d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.