Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible updates to support common routeros settings #22

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

dpkingston
Copy link

I have added a new role (routeros_common) to manage common setting for RouterOS devices owned by HamWAN.
It was spurred by the need to update the entire network with changes mandated by the migrations from 44.24.240.0/20 to 44.25.0.0/16.

The initial set of changes deal with SNMP allowed addresses, NTP servers, and DNS servers, and logging destination.

This was necessary to be able to avoid showing a change was needed when
in fact it wasn't (dhcp_dns_servers, dhcp_ntp_servers).  We were invoking the
change command which was a no-op in these cases, but it was messy and
with a little more logic.
get_facts.yml is only used for getting routeros version for now.
psdr_routeros.yml is a convenience playbook that only processes routeros plays.
Null_settings.yml is the do nothing option (no settings in any list).
The S?.Triangle files show how standard settings can be overridden where needed.
Also added .log files to .gitignore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant