Hi, The issue is not related to your playbook. The error is from openstack side looks like you are missing domain in environment varibales. Try adding domain in your your openrc file and run the playbook in verbose mode.
Also it looks like your system is trying to connect to region two and in Playbook is configured with Region one. As you can see in error message the error is for region2. Can you cross check the env variables? Regards, Amarjeet On Thu, Mar 30, 2017 at 2:25 AM, Balu Kompalli <[email protected]> wrote: > > <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 > <https://groups.google.com/d/msgid/ansible-project/e23475a0-f505-4dca-807d-50e1bda396e9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CACLrQb2DR0jaUM%3DtHD6krB-iZVB52QCBoLS5i331YtBAPGJR6Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
