Git Product home page Git Product logo

ansible-edgeos's Introduction

Maintenance

Terrible EdgeOS Opinions

Consider this to be beta at best, caveat emptor and all that.

an-image

I've been super into the whole Ubiquiti ecosystem since I discovered them a bunch of years ago. I'm still super into them, even if their stuff shows up allll the time on shodan. This role does a bunch of stuff on an EdgeOS/VyOS machine.

  • install ssl cert
  • setup pimd for multicast forwarding
  • install some helper scripts

vyos-misc

This is just used to restart lighthttp when I swap out the TLS bits.

# vyos-misc web restart

vyos-dns

Used to manage static DNS mappings.

# vyos-dns list
foo.example.com - 10.0.0.1
bar.example.com - 10.0.0.2
# vyos-dns update foo.example.com 10.0.0.3
Updating foo.example.com 10.0.0.1 to 10.0.0.3
...
# vyos-dns delete bar.example.com
Deleting bar.example.com (10.0.0.2)
...

vyos-dhcp

Used to manage static DHCP entries.

# vyos-dhcp list Intranet
00:11:22:aa:bb:cc 10.0.0.1 - foo
00:11:22:aa:bb:cd 10.0.0.2 - bar
# vyos-dhcp update Intranet foo 10.0.0.3 00:11:22:aa:bb:cc
Updating foo - 00:11:22:aa:bb:cc 10.0.0.3 (from 00:11:22:aa:bb:cc 10.0.0.1)
...
# vyos-dhcp delete Intranet bar
Deleting bar - 00:11:22:aa:bb:cd 10.0.0.2

errata

The whole vbash thing is kind of interesting. The biggest thing I've noticed thus far is config functions do not seem to be accessible from within other functions. This is why everything is so duplciated in the vbash scripts. Even when sourcing and re-initializing inside the function, the various commands are not found. I'm assuming this is because I don't understand something about how bash functions work.

License

MIT

Author

This Ansible role was created by Jonathan Freedman because he is trying to break the EdgeOS gooey habit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.