What arguments/parameters to deploy to VM?

12 views
Skip to first unread message

Tiglath

unread,
Jun 30, 2016, 9:53:44 AM6/30/16
to Ansible Project


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



Reply all
Reply to author
Forward
0 new messages