Closed cityofships closed 11 months ago
Can you provide some info on what the problem was?
Issue #145
Well yes, but how does this fix it?
Well yes, but how does this fix it?
Yeah - added that to the PR description now.
My reference: https://www.redhat.com/sysadmin/ansible-jinja
My reference: https://www.redhat.com/sysadmin/ansible-jinja
Thanks. I also found https://stackoverflow.com/a/47402243 which would have been another option
I guess similar stuff needed for debian/ubuntu? https://github.com/michaelrigart/ansible-role-interfaces/blob/master/templates/bond_Debian.j2#L83
I guess similar stuff needed for debian/ubuntu? https://github.com/michaelrigart/ansible-role-interfaces/blob/master/templates/bond_Debian.j2#L83
Yes - I was able to reproduce it
Routes: splits the line rendering in two parts. CIDR, gateway & table go first, then (conditionally) options. They were previously getting silently dropped as updates to
route
were constrained to the inner loop while rendering was done outside.Fixes #145