Hi,
Don't know why worked only once, no luck with this still.
Givining up.: ( :(
This syntax at a least run condition everytime and not reporting error:
roles:
- { role: test_roleversion,
when: { ansible_local.apache.version is not defined or
module.version > ansible_local.apache.version } }
Everything else which I tried after running command on remote node: rm -f
/etc/ansible/facts/* failed with error:
error while evaluating conditional: ansible_local.apache.version is not
defined or module.version > ansible_local.apache.version
Marcin.
--
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/5fe22919-7085-48c8-a4f0-eeaff821801c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.