# Executing ad-hoc command fails on two machines

**URL:** <https://forum.ansible.com/t/executing-ad-hoc-command-fails-on-two-machines/20061>\
**Category:** Ansible Project\
**Created:** [December 22, 2015, 2:29pm UTC](https://forum.ansible.com/t/executing-ad-hoc-command-fails-on-two-machines/20061 "2015-12-22T14:29:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.herrmann1](https://avatars.discourse-cdn.com/v4/letter/d/76d3ee/32.png) [@daniel.herrmann1](https://forum.ansible.com/u/daniel.herrmann1)\
**Post date:** [December 22, 2015, 2:29pm UTC](https://forum.ansible.com/t/executing-ad-hoc-command-fails-on-two-machines/20061/1 "2015-12-22T14:29:37Z")

</div>

Hello,

I am currently installing ansible for managing ~200 equal DNS/DHCP appliances running linux. As a first step, I added them to the ansible host file and created a first playbook, which does nothing than executing “ls -al”. This works on 198 of the hosts, but two of them are making trouble.

When executing an ad-hoc command like “ansible [problemhost1.example.com](http://problemhost1.example.com) -a “ls -al” -u root -vvvv”, the following error is shown:
