New in version 2.4.
| destination |
string / required
Destination IP address in CIDR format (ip address/prefix length).
| gateway |
The gateway used by the static route.
| metric |
| Default: |
Metric used by the static route.
| state |
| || |
--- - name: Add a network static route win_route: destination: 192.168.2.10/32 gateway: 192.168.1.1 metric: 1 state: present - name: Remove a network static route win_route: destination: 192.168.2.10/32 state: absent
Common return values are documented here, the following are the fields unique to this module:
| output |
A message describing the task result.
If you notice any issues in this documentation, you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.