ansible/ansible — pull request #7836 by trbs (2014-06-19 13:50:27+00:00)
Title: OSError in file module for non existing symlink in check mode.

In check mode if a symlink does not exist there is no need to check the ownership properties (which causes an exception)

The following task raises OSError in check mode when the symlink does not exist on the target host.
```
- name: /etc/supervisord.conf -> /etc/supervisor/supervisord.conf
file: src=/etc/supervisor/supervisord.conf dest=/etc/supervisord.conf owner=root group=root state=link
when: supervisord_conf_result|success
tags:
- supervisor
```