check if variables are defined using proper ansible syntax