Ask a question
Does this check actually work for you? My understanding (and a quick test) is that Ansible will overwrite the variables with {'skipped': True} when a task is skipped.
I think it would work if you move the contents of the block: into a separate file, and use include instead, but have not checked.