Currently the role will fail to regather fact if $network_count > 1 That's because without the quotes echo will suppress the \n writing everything in one line. Thus wc -l will return `1`, confusing the file_content function that will lead to an incorrect json being produced |
||
|---|---|---|
| .. | ||
| set_facts.sh | ||