Merge "Fix python path when deploy host is not localhost"

This commit is contained in:
Zuul 2019-10-01 12:23:52 +00:00 committed by Gerrit Code Review
commit 72ccc4d6f4
4 changed files with 4 additions and 8 deletions

View File

@ -21,8 +21,7 @@
- name: Setup the amphora image
delegate_to: "{{ octavia_service_setup_host }}"
vars:
ansible_python_interpreter: >-
{{ (octavia_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable']) }}
ansible_python_interpreter: "{{ octavia_service_setup_host_python_interpreter }}"
block:
- name: Create image download directory
file:

View File

@ -21,8 +21,7 @@
- name: Setup the octavia flavor
delegate_to: "{{ octavia_service_setup_host }}"
vars:
ansible_python_interpreter: >-
{{ (octavia_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable']) }}
ansible_python_interpreter: "{{ octavia_service_setup_host_python_interpreter }}"
block:
- name: Create Octavia Flavor
run_once: true

View File

@ -21,8 +21,7 @@
- name: Setup the network
delegate_to: "{{ octavia_service_setup_host }}"
vars:
ansible_python_interpreter: >-
{{ (octavia_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable']) }}
ansible_python_interpreter: "{{ octavia_service_setup_host_python_interpreter }}"
block:
- name: Create mgmt network
run_once: true

View File

@ -21,8 +21,7 @@
- name: Setup the security groups
delegate_to: "{{ octavia_service_setup_host }}"
vars:
ansible_python_interpreter: >-
{{ (octavia_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable']) }}
ansible_python_interpreter: "{{ octavia_service_setup_host_python_interpreter }}"
block:
- name: Setup the service project quota
os_quota: