I should also include a copy of the script as it works today.
---
#####################
#vm_provision.yml
#An ansible script to provision individual vms based on the parameters fed
to the script from
#start_provision.yml and the iteration parameter which pulls vm names from
the server_name.yml.
#See start_provision.yml and script documentation for other required
parameters.
#####################
- hosts: vmaservers
vars_files:
- server_name.yml
user: vi-admin
tasks:
- name: clone VM taking names from server_name.yml calling vmprovision.pl
on the vma server.
action: shell /home/vi-admin/bin/vmprovision.pl --server $server
--username $username --credstore ~/.credentials.xml --op clone --vmhost
$vmhost --vmhost_destination $vmhost_destination --vmname $template
--datastore $datastore --vmname_destination ${servername[$iteration]}
On Friday, March 20, 2015 at 9:22:06 AM UTC-4, Brian Coca wrote:
>
> I just tested this and i cannot reproduce your issue, i would need to
> see the actual template having the problem
>
>
>
> --
> Brian Coca
>
--
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/10f89f9b-5fa4-457b-9b50-8ea55dc1e69f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.