SHARE
TWEET

sequences

a guest Jul 21st, 2017 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. - block:
  2.     - name: Creating new CentOS-7 VM from template...
  3.       vmware_guest:
  4.         hostname: "{{ vmware_hostname }}"
  5.         username: "{{ vmware_username }}"
  6.         password: "{{ vmware_password }}"
  7.         validate_certs: no
  8.         esxi_hostname: "{{ esxi_dedicated_host }}"
  9.         datacenter: "{{ datacenter_name }}"
  10.         folder: "{{ datacenter_subfolder }}"
  11.         name: "DEV0{{ item }}"
  12.         state: poweredon
  13.         guest_id: centos64guest
  14.         hardware:
  15.           memory_mb: 8192
  16.           num_cpus: 2
  17.           scsi: paravirtual
  18.         template: "{{ vm_template_name.centos }}"
  19.         wait_for_ip_address: yes
  20.       delegate_to: localhost
  21.       with_sequence:
  22.         count: "4"
  23.   tags: ['linux_vm']
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top