问题原文
原帖链接 · Owensteam · CC BY-SA 4.0
I would like to know if there's a module I can use to manage static routes on a Linux device (Ubuntu 18.04)
I have found this question: Add static route with Ansible
but this was asked almost 4 years ago and ansible has moved forward since then so thought it was worth asking again, or am I still restricted to bash CLI?
Thanks
已采纳解答
原帖链接 · John Mahowald · CC BY-SA 4.0
As before, Ansible modules specifically for routing exist for network gear and Windows boxes.
As usual when a task specific module does not exist, the general pattern is to template out a config file. In this case, for netplan.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
