How do I add and delete routes in my route table with Ansible?
I can't seem to find any network or system modules for this.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this communityAFAIK, you're stuck using the command module to make your change using a shell command.
net_static_route is available since ansible 2.4.
Depending on your requirements it might provide what you need.