You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support to interface ipip to modules community.routeros.api_info and community.routeros.api_modify.
ISSUE TYPE
Feature Idea
COMPONENT NAME
community.routeros.api_info and community.routeros.api_modify
ADDITIONAL INFORMATION
Should make use of module by the "ansible way", meaning no need to deep knowledge of RouterOS specific commands.
- name: Add interfaceshosts: allgather_facts: falsemodule_defaults:
group/community.routeros.api:
hostname: "{{ api_hostname }}"username: "{{ api_username }}"password: "{{ api_password }}"# The following options configure TLS/SSL.# Depending on your setup, these options need different values:tls: truevalidate_certs: falsevalidate_cert_hostname: true# If you are using your own PKI, specify the path to your CA certificate here:# ca_path: /path/to/ca-certificate.pemtasks:
- name: IPIP intefacescommunity.routeros.api_modify:
path: interface ipip # <--- Not supported yethandle_absent_entries: removehandle_entries_content: remove_as_much_as_possible# ensure_order: truedata: "{{ interfaces.ipip }}"delegate_to: localhost
---
all:
vars:
interfaces:
#...ipip:
- name: ipip-1allow-fast-path: falseclamp-tcp-mss: "yes"comment: "ipip-1"disabled: falsedont-fragment: falseipsec-secret: "xxxx"keepalive: falselocal-address: "192.168.1.1"mtu: 1430remote-address: "10.10.10.10"# Other parameters...
The text was updated successfully, but these errors were encountered:
SUMMARY
Add support to interface ipip to modules community.routeros.api_info and community.routeros.api_modify.
ISSUE TYPE
COMPONENT NAME
community.routeros.api_info and community.routeros.api_modify
ADDITIONAL INFORMATION
Should make use of module by the "ansible way", meaning no need to deep knowledge of RouterOS specific commands.
The text was updated successfully, but these errors were encountered: