Giter Club home page Giter Club logo

anoop.vyos's Introduction

Ansible Role: Vyos Router Management

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

Set the path for the config backup. Path starts from / on ansible host.

vyos_backup_path: 'backup'

Set the options for vyos_cmd variable in order for role to execute specific action.

vyos_cmd: fact, ping, init, backup, addip2fw, delip2fw, addport2fw, delport2fw, addnewport2fw, addnewaddress2fw, addnewrule2fw

Set the description you wish to add to the interface.

vyos_interface_description: 'interface description'

Set the interface name in the vyos router for which description need to be configured.

vyos_interface: 'eth0'

Set variable to the ip address (single IP Address or with subnet like 0.0.0.0/0).

vyos_fw_ipaddress: 

Set variable to predefined vyos firewall address group.

vyos_fw_address_group: 

Set variable to port in vyos firewall port group.

vyos_fw_port:

Set variable to predefined vyos firewall port group.

vyos_fw_port_group:

Set variable to predefined vyos firewall name.

vyos_fw_name:

Set variable to rule number in vyos firewall.

vyos_fw_rule_number:

Set variable to protocol (tcp, udp, tcp_udp, icmp etc).

vyos_fw_protocol: 

Set variable to host (ip address or fqdn) for ping test.

vyos_host: 

Dependencies

None.

Example Playbook

 - name: "playing vyos playbook"
   become: true
   hosts: all
   gather_facts: no
   roles:
    - anoop.vyos

anoop.vyos's People

Contributors

tirpitz0509 avatar

Watchers

 avatar

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.