Merge "Fix python path when deploy host is not localhost"
This commit is contained in:
commit
72ccc4d6f4
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user