I have tried figuring this out for a few hours now and can't get it 
working..

Does anyone know how to properly format this so the code isn't so wide?

- hosts: 127.0.0.1

  connection: local

  gather_facts: no

  roles:

    - { role: vsphere-guest, vm_name: '{{server1_hostname}}', ip_addr: 
'{{server1_ip.stdout}}', ip_mask: '{{ip_mask}}', ip_gateway: 
'{{ip_gateway}}', fqdn: '{{server1_hostname}}', vm_memsize: 
'{{vm_memsize}}', vm_numcpus: '{{vm_numcpus}}', vcenter_username: '{{ 
vcenter[vsphere_environment].username }}', vcenter_password: '{{ 
vcenter[vsphere_environment].password }}', tags: [ 'create_vms', 
'create_vm1' ] }


Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/13d82e4f-abeb-4f4c-8978-29ae4a70a258%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to