Merge "Allow a defined but not dhcp addressing_mode"

This commit is contained in:
Jenkins 2016-03-21 15:50:28 +00:00 committed by Gerrit Code Review
commit 0a7af82af4
1 changed files with 2 additions and 2 deletions

View File

@ -49,12 +49,12 @@
network_mtu: "{{ network_mtu | default('1500') }}"
nics: "{{ nics | default(omit) }}"
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"
template:
src: network_info.json.j2
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"
file:
state: directory