# Issues trying to get dry run(--check) to play out cleanly

**URL:** <https://forum.ansible.com/t/issues-trying-to-get-dry-run-check-to-play-out-cleanly/14457>\
**Category:** Ansible Project\
**Created:** [January 29, 2014, 10:44pm UTC](https://forum.ansible.com/t/issues-trying-to-get-dry-run-check-to-play-out-cleanly/14457 "2014-01-29T22:44:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_DiGiovanni](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@Chris\_DiGiovanni](https://forum.ansible.com/u/Chris_DiGiovanni)\
**Post date:** [January 29, 2014, 10:44pm UTC](https://forum.ansible.com/t/issues-trying-to-get-dry-run-check-to-play-out-cleanly/14457/1 "2014-01-29T22:44:27Z")

</div>

I’ve been trying to get my playbooks to play out cleanly during a dry run with the --check switch. I’ve ran into a problem where one of my tasks using the file module fails because a user does not exist yet. The user is added prior to this task running so when not using the --check switch it plays out fine. Has anyone ran into this and have a valid work around to get --check to play out cleanly? I also cannot use ignore\_errors parameter as if this actually fails during the deployment I want it to do the default action and stop. Thanks ahead for anyone’s help or response.

Thanks,

Chris
