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?