title: Skip Ansible task when running in check mode?
body: <p>I'm writing an Ansible playbook and have a task which will always fail in check mode:</p>
  
  <pre><code>hosts: ...
  tasks:
      - set_fact: filename="{{ansible_date_time.iso8601}}"
      - file: state=touch name={{filename}}
      - file: state=link src={{filename}} dest=latest
  </code></pre>
  
  <p>In check mode, the file will not be created so the <code>link</code> task will always fail.  Is there a way to mark such a task to be skipped when running in check mode?  Something like:</p>
  
  <pre><code>- file: state=link src={{filename}} dest=latest
    when: not check_mode
  </code></pre>