<https://lh3.googleusercontent.com/-5i1tVF_kreM/WNwfHT3ZUYI/AAAAAAAAEMw/U_2QATdywN4iKV7VND9mWAoQtlbGGeUFgCLcB/s1600/Screenshot%2B%25281098%2529.png>


Hello team, 

warm wishes to all the Ansible team.

I got the below error while try to create the provisioning ansible in 
openstack.

I searched for so  many websites but never found any solution. Please help 
me to come out of the error and its my high priority task on Ansible.


Thank you.


and this is my playbook:
---


*latest.yml----*
- name: Deploy on OpenStack
  hosts: localhost
  gather_facts: false
  tasks:
  - name: Deploy an instance
    os_server:
      state: present
      auth:
       auth_url: http://{{ip}}:{{port}}/v3/
       username: admin
       password: ******
       project_name: sample

      name: webserver
      image: CentOs_image
      region_name: RegionOne
      availability_zone: nova
      key_name: root
      wait: yes
      flavor: m1.medium
      auto_floating_ip: yes
      network: private
      meta:
        hostname: webserver.localdomain
    register: webserver
  - debug: var=webserver

  - name: ensure apache is at the latest version
    yum: name=httpd state=latest
  - name: make sure apache is running
    service: name=httpd state=running




-- 
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/e23475a0-f505-4dca-807d-50e1bda396e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to