Sam Yaple 8e03952c10 Fixes race condition in ansible playbooks
Bundling in a run_once error that beaks with multinode and the race

Change-Id: Ia3779d9a291f8d652fc81fe5ebcab88241805c8d
Closes-Bug: #1480468
2015-07-31 22:40:21 +00:00

24 lines
854 B
YAML

---
- name: Creating the Neutron service and endpoint
kolla_keystone_service:
service_name: "neutron"
service_type: "network"
description: "OpenStack Networking"
endpoint_region: "{{ openstack_region_name }}"
admin_url: "http://{{ kolla_internal_address }}:{{ neutron_server_port }}"
internal_url: "http://{{ kolla_internal_address }}:{{ neutron_server_port }}"
public_url: "http://{{ kolla_external_address }}:{{ neutron_server_port }}"
auth: "{{ openstack_auth_v2 }}"
region_name: "{{ openstack_region_name }}"
run_once: True
- name: Creating the Neutron project, user, and role
kolla_keystone_user:
project: "service"
user: "neutron"
password: "{{ neutron_keystone_password }}"
role: "admin"
auth: "{{ openstack_auth_v2 }}"
region_name: "{{ openstack_region_name }}"
run_once: True