Ansible 1.9.2 with_subelements and DB2: Execute "should-I-run" SQL check before executing multiple DDL commands

I’m attempting to create an idempotent DB2 script runner using ansible. My variables: