# Run playbook in --check mode from the target

**URL:** <https://forum.ansible.com/t/run-playbook-in-check-mode-from-the-target/25004>\
**Category:** Ansible Project\
**Created:** [July 17, 2017, 11:21am UTC](https://forum.ansible.com/t/run-playbook-in-check-mode-from-the-target/25004 "2017-07-17T11:21:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gforster](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gforster/32/535_2.png) [@gforster](https://forum.ansible.com/u/gforster)\
**Post date:** [July 17, 2017, 11:21am UTC](https://forum.ansible.com/t/run-playbook-in-check-mode-from-the-target/25004/1 "2017-07-17T11:21:11Z")

</div>

Is there any way from the target machine to run it’s playbook(s) in --check mode and display output on the target machine? I’m hoping for something smoother than ssh’ing to the control machine, running intended playbook(s), outputting to a file and rsync’ing it back to the target. The goal is to script it so that application owners can check if their “stuff” is compliant from the target machine itself.

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [July 22, 2017, 1:40pm UTC](https://forum.ansible.com/t/run-playbook-in-check-mode-from-the-target/25004/2 "2017-07-22T13:40:34Z")

</div>

> Is there any way from the target machine to run it's playbook(s) in --check  
> mode and display output on the target machine?

A host does not have any knowledge of Ansible and playbooks unless you install Ansible on them.

> I'm hoping for something  
> smoother than ssh'ing to the control machine, running intended playbook(s),  
> outputting to a file and rsync'ing it back to the target. The goal is to  
> script it so that application owners can check if their "stuff" is  
> compliant from the target machine itself.

The alternative is to install Ansible on all host so you can run Ansible locally.
