os_server shade problem

16 views
Skip to first unread message

asadra...@gmail.com

unread,
Nov 8, 2017, 6:22:12 AM11/8/17
to Ansible Project

Hey Guys, I have tried all the modules of shade to automate my openstack using os_etc.
I found only one error which i would like share for resolving the issue.
The script is as under.


- name: Deploy on OpenStack
  hosts: localhost or hostip
  gather_facts: false
  tasks:
  - name: Create a project
    os_project:
      state: present
      auth:
         auth_url: http://ip:5000/v3
         username: example
         password: password
         user_domain_name: default
         project_domain_name: default
      name: project007
      description: this is for testing
      domain_id: default
      enabled: true


When i launch the job from ansible tower for this script to create a project inside my openstack the job not runs and i found some errors.


Reply all
Reply to author
Forward
0 new messages