How is it possible to get something like the following running:
{% if not exist(\'/tmp/dummy/\') then %} dummy: file.touch: - name: /tmp/dummy/tmp.txt
{% if 1 == salt['cmd.retcode']('test -f /tmp/woo.test') %} ack: file.touch: - name: /tmp/woo.test {% endif %}