Created
June 16, 2015 01:23
-
-
Save kleppy/16e8b89b1186e2e391bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - hosts: localhost | |
| user: ubuntu | |
| gather_facts: no | |
| tasks: | |
| - name: local call | |
| local_action: vsphere_guest | |
| vcenter_hostname=yourcenter.qualifiedhostname | |
| username="authorizedvcenteruser" | |
| password="password" | |
| guest={{ item }} | |
| from_template=yes | |
| template_src=ubuntu-templatename | |
| cluster=Vmwareclusteryouwanttodeployon | |
| resource_pool="/Resources" | |
| with_items: | |
| - "testguest" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment