# What arguments/parameters to deploy to VM?

**URL:** <https://forum.ansible.com/t/what-arguments-parameters-to-deploy-to-vm/21900>\
**Category:** Ansible Project\
**Created:** [June 30, 2016, 1:53pm UTC](https://forum.ansible.com/t/what-arguments-parameters-to-deploy-to-vm/21900 "2016-06-30T13:53:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tiglath](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Post date:** [June 30, 2016, 1:53pm UTC](https://forum.ansible.com/t/what-arguments-parameters-to-deploy-to-vm/21900/1 "2016-06-30T13:53:44Z")

</div>

I have a Virtualbox VM (CentOS) I need to deploy packages to.

What are the settings to use the Vagrant SSH tunnel, so that Ansible can deploy to the VM just like to a remote physical machine?

The user would be ‘vagrant’, but then there are the keys for logging in without a password, sudo, and the VM IP and port, perhaps?

Also, can all that be specified inside the .yml file rather than as ansible-playbook command arguments?

Many thanks
