nertwork.cumulus-switch

役割名

Cumulus Switches バージョン 3.2+ を設定する NCLU 役割

要件

Ansible 2.3 以上および Cumulus Linux 3.2 以上が必要です。

役割変数

変数 説明 種類 デフォルト
cl_license Cumulus ライセンス(文字列形式) 文字列 ``
commands すべての NCLU デバイスで実行するコマンド 配列 []
group_commands グループ変数で使用するすべての NCLU デバイス用のコマンド 配列 []
switchd_commands NCLU デバイスで switchd を再起動するコマンド 配列 []
switchd_group_commands グループ変数で使用する NCLU デバイスの switchd を再起動するコマンド 配列 []

依存関係

例のプレイブック

役割の使い方の例(たとえば、変数をパラメータとして渡す例)を含めると、ユーザーにとってとても便利です:

- hosts: servers
  roles:
     - cumulus-nclu
  vars:
     cumulus_nclu:
         switchd_commands:
           - add interface swp49 breakout 4x
         commands:
           - add hostname {{ ansible_hostname }}
           - add interface swp1 ip address 192.168.0.1/24
         cl_license: 'rocketturtle:102u309uofewauj'
         cumulus_license_file: /var/tmp/cl_license

ライセンス

BSD

著者情報

役割の著者が連絡先情報やウェブサイトを含めるためのオプションのセクション(HTML は使用不可)。

プロジェクトについて

This configures Cumulus Linux 3.2 and above

インストール
ansible-galaxy install nertwork.cumulus-switch
ライセンス
Unknown
ダウンロード
462
所有者