From 1366bf507d57497e2541dba8ec37569563528a89 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Mon, 4 May 2020 07:55:29 -0500 Subject: [PATCH] show what is being recoreded in iiab_env_file --- roles/network/tasks/computed_network.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/roles/network/tasks/computed_network.yml b/roles/network/tasks/computed_network.yml index 08540b94e..61dda59ce 100644 --- a/roles/network/tasks/computed_network.yml +++ b/roles/network/tasks/computed_network.yml @@ -128,20 +128,18 @@ iiab_lan_iface: "{{ user_lan_iface }}" when: not (user_lan_iface == "auto") -- name: Record IIAB_WAN_DEVICE to {{ iiab_env_file }} +- name: Record IIAB_WAN_DEVICE={{ iiab_wan_iface }} to {{ iiab_env_file }} lineinfile: path: "{{ iiab_env_file }}" regexp: '^IIAB_WAN_DEVICE=*' line: 'IIAB_WAN_DEVICE={{ iiab_wan_iface }}' - when: not installing #REMOVE THIS LINE IF installing IS ALWAYS false AS SET IN roles/0-init/defaults/main.yml -- name: Record IIAB_LAN_DEVICE to {{ iiab_env_file }} +- name: Record IIAB_LAN_DEVICE={{ iiab_lan_iface }} to {{ iiab_env_file }} lineinfile: path: "{{ iiab_env_file }}" regexp: '^IIAB_LAN_DEVICE=*' line: 'IIAB_LAN_DEVICE={{ iiab_lan_iface }}' state: present - when: not installing #REMOVE THIS LINE IF installing IS ALWAYS false AS SET IN roles/0-init/defaults/main.yml - name: Add 'computed_network' variable values to {{ iiab_ini_file }} ini_file: