Hello, In my playbook I had "resource_type=template" which should be "resource_type=new" as shown in your example. So now it works, I can provision a vm with Ansible!! Awesomeness!!
Thank you for your help. Op dinsdag 19 augustus 2014 09:11:40 UTC+2 schreef Vincent Van der Kussen: > > Hi, > > I just tested this from an Ubuntu machine with version 3.4.3.0 of the > SDK. Seems to be working just fine. > > > $ cat play.yml > - hosts: localhost > tasks: > - name: create vm based on template > ovirt: user=admin@internal url=https://rhevm30.bla.local:8443 > instance_name=ansibletest password=xxxxxxx image=CentOS6.4-minimal > zone=production resource_type=template > > > vincent@bumblebee in ~/tmp > $ ansible-playbook -c local play.yml > > PLAY [localhost] > ************************************************************** > > GATHERING FACTS > *************************************************************** > ok: [localhost] > > TASK: [create vm based on template] > ******************************************* > changed: [localhost] > > PLAY RECAP > ******************************************************************** > localhost : ok=2 changed=1 unreachable=0 > failed=0 > > vincent@bumblebee in ~/tmp > > Can you try to login in the gui with the credentials provided in your > playbook? Does that work? > > Regards, > Vincent > > > -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/253e5b40-02d4-448c-adc4-81c5d2ab80c8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.