Merge "Allow a defined but not dhcp addressing_mode"
This commit is contained in:
commit
0a7af82af4
@ -49,12 +49,12 @@
|
|||||||
network_mtu: "{{ network_mtu | default('1500') }}"
|
network_mtu: "{{ network_mtu | default('1500') }}"
|
||||||
nics: "{{ nics | default(omit) }}"
|
nics: "{{ nics | default(omit) }}"
|
||||||
node_network_info: "{{ node_network_info | default('') }}"
|
node_network_info: "{{ node_network_info | default('') }}"
|
||||||
when: addressing_mode is undefined and '"dhcp" not in addressing_mode'
|
when: addressing_mode is undefined or "dhcp" not in addressing_mode
|
||||||
- name: "Place network info template in each openstack/latest folder"
|
- name: "Place network info template in each openstack/latest folder"
|
||||||
template:
|
template:
|
||||||
src: network_info.json.j2
|
src: network_info.json.j2
|
||||||
dest: "{{ variable_configdrive_location.stdout }}/{{ uuid }}/openstack/latest/network_info.json"
|
dest: "{{ variable_configdrive_location.stdout }}/{{ uuid }}/openstack/latest/network_info.json"
|
||||||
when: addressing_mode is undefined and '"dhcp" not in addressing_mode'
|
when: addressing_mode is undefined or "dhcp" not in addressing_mode
|
||||||
- name: "Make metadata folder - /openstack/latest"
|
- name: "Make metadata folder - /openstack/latest"
|
||||||
file:
|
file:
|
||||||
state: directory
|
state: directory
|
||||||
|
Loading…
Reference in New Issue
Block a user