title: Ansible execute command locally and then on remote server
body: <p>I am trying to start a server using ansible shell module with <strong>ipmitools</strong> and then do configuration change on that server once its up.</p>
  
  <p>Server with ansible installed also has ipmitools.</p>
  
  <p>On server with ansible i need to execute ipmitools to start target server and then execute playbooks on it.</p>
  
  <p>Is there a way to execute local ipmi commands on server running ansible to start target server through ansible and then execute all playbooks over ssh on target server.</p>