I did a quick play which has a conditional:
when: ansible_swaptotal_mb == "2047"
this conditional never evaluates as true, if I debug:
debug: var=ansible_swaptotal_mb
I get
ok: [hostname] => {
"ansible_swaptotal_mb": "2047"
}
it seems to me my when statement would evaluate as true?
I have the same issue when I try "ansible_lsb.id"
what am I doing wrong here?
--
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/d5a33338-ca1d-40ce-8eb7-5bbc24469142%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.