Hi, 

I'm trying to create a vm instance via ansible on trystack. Modules such as 
os_network, os_subnet and os_image_facts are all working. 
When trying to use os_server I get this message: 

fatal: [localhost]: FAILED! => {"changed": false, "extra_data": null, 
"failed": true, "msg": "Error in creating instance (Inner Exception: 
create() takes at least 4 arguments (9 given))"}

This is the yaml:
- name: Create a Cirros Server instance
  os_server:
    state: present
    name: server1
    image: openstack_image.id
    key_name: Key_1
    timeout: 200
    flavor: 1
    nics:
      - net-id: openstack_subnets.id
    meta:
      hostname: server1
      group: testgroup

Shade 1.12.1
Openstack: 3.3.0

Where should I start looking? 

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 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/b619932f-b237-46d8-8050-d385346e556c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to