diff --git a/files/set_facts.sh b/files/set_facts.sh index 1586e30..2b7ffe0 100644 --- a/files/set_facts.sh +++ b/files/set_facts.sh @@ -15,7 +15,7 @@ function file_content { while read -r; do network=($REPLY) echo " \"${network[2]}\": {" - echo " \"status\":\"${network[5]}\"" + echo " \"status\":\"${network[5]}\"," echo " \"device\":\"${network[7]}\"" if [ "$counter" -eq "$network_count" ]; then