Checking file permission using stat.mode

Would anyone have the syntax of stat.mode? I’m trying to check the permissions of a file using ansible 1.9.4 but I’'m getting the error:

fatal: [USSLTCSNL5039.solutions.glbsnet.com] => error while evaluating conditional: foo_conf_file.stat.mode == ‘0600’

FATAL: all hosts have already failed – aborting

Thank you