i have tried launching a VM in openstack env with os_server module. When i 
execute the playbook it throws following error:

fatal: [vsilmasv24-vzbi-com]: FAILED! => {"changed": false, "failed": true, 
"msg": "shade is required for this module"}

Please help me.

my playbook:
---
- hosts: controller
  sudo: true
  gather_facts: yes
  tasks:
  - name: 'set auth'
    os_server:
       state: present
       auth:
         auth_url: http://166.44.165.157:5000
         username: admin
         password: Keystone2018
         user_id: admin
         project_name: admin
         tenant_name: admin
       name: vm1
       image: 43c66e91-fc48-4272-a416-64fb94ac9720
       timeout: 200
       flavor: 4
       nics:
         - net-id: 511a922a-ca22-4a4f-99bf-e67207133444
         - net-name: vsil-ext-net

-- 
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/38b33414-8d95-4f71-b2de-b6aeeffc5f47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to