Skip to content

sperkbird/ansible-role-vyos-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-vyos-interface

VyOSのインターフェース設定の追加、削除を行います。

Requirements

Ansible version >= 2.2

(connection: network_cli 利用時 >=2.5)

Role Variables

変数名 内容
vyos_config VyOSへの設定内容を定義します

vyos_config

vyos_config:
  connection:
    host:     vyos.example.com
    username: vyos
    password: vyos-password

  interfaces:
    ethernet:
      eth0:
        address: dhcp

    dummy:
      dum0:
        address: 10.2.0.1/24

      dum1:
        address: 10.2.1.1/24

  del_interfaces:
    dummy:
      dum0:
        address: 10.2.0.2/24

      dum1:
        address: 10.2.1.2/24

Example Playbook

    - hosts: servers
      roles:
         - { role: ansible-role-vyos-interface }

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published