
8 Feb
2022
8 Feb
'22
10:40 p.m.
I think I found the problem. The regex in 001_validate_network_interfaces.yml really wants there to be a number after the 'bond' identifier, i.e. bond0. However, the regex is as follows: bond_valid_name="{{ iface_item | regex_search('(^bond[0-9]+)') }}" which will not return a good value if just 'bond' is passed to it (the output of nmcli -g GENERAL.TYPE device show). However, I am not an ansible expert, nor am I an expert on how these scripts are called. I humbly request someone else's expert opinion on this. Thanks again.