summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan V <logan2211@gmail.com>2019-03-17 22:20:45 -0500
committerLogan V <logan2211@gmail.com>2019-03-17 22:21:32 -0500
commitba1b0c15c7f0daa856b7c95bac1593a86a5fc573 (patch)
tree8d2a29e9764769545dcbbe595d0cc884604a7397
parent4ecb46edcfdb2e01f9e01daa52ce2eb5f8f96c03 (diff)
Use openstack service setup host for net bootstrap
Bootstrap the network configuration using the openstack API setup host. Change-Id: Ia8fb5c1fd7cf56cf4746ceaf24e142360b1bf126
Notes
Notes (review): Code-Review+2: Logan V <logan2211@gmail.com> Workflow+1: Logan V <logan2211@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 18 Mar 2019 03:22:19 +0000 Reviewed-on: https://review.openstack.org/643843 Project: openstack/limestone-ci-cloud Branch: refs/heads/master
-rw-r--r--network_bootstrap/bootstrap-neutron.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/network_bootstrap/bootstrap-neutron.yml b/network_bootstrap/bootstrap-neutron.yml
index d4f950c..2ccb028 100644
--- a/network_bootstrap/bootstrap-neutron.yml
+++ b/network_bootstrap/bootstrap-neutron.yml
@@ -1,6 +1,13 @@
1- name: Bootstrap neutron networks 1- name: Bootstrap neutron networks
2 hosts: utility_all[0] 2 hosts: "{{ openstack_service_setup_host | default('localhost') }}"
3 gather_facts: no 3 pre_tasks:
4 - name: Set ansible_python_interpreter
5 set_fact:
6 ansible_python_interpreter: >-
7 {{ openstack_service_setup_host_python_interpreter |
8 default((inventory_hostname == 'localhost') |
9 ternary(ansible_playbook_python,
10 ansible_python['executable'])) }}
4 tasks: 11 tasks:
5 - name: Install openstacksdk 12 - name: Install openstacksdk
6 pip: 13 pip: