■ はじめに Ansible はCisco IOS や、Juniper JUNOSなど様々なネットワーク機器に対応するモジュールがあります。 show系のコマンドを実行して結果を取得することもできますが、取得した結果を良い感じにパースしてくれるフィルタープラグイン 「ansible_helpers」を見つけたので試してみます。 作者はnetmikoの作者でもある Kirk Byers (@ktbyers) さんです。 ▼本プラグインを知るきっかけとなったツイート Ansible filter plugin I wrote to help convert unstructured data to structured data using ntc-templates and TextFSM https://t.co/D3SyGzjVLK— Kirk Byers (@kirkbyers) 20
![Ansible でネットワーク機器のコマンド結果をパースしてくれるフィルタープラグイン「ansible_helpers」を試してみた - てくなべ (tekunabe)](https://cdn-ak-scissors.b.st-hatena.com/image/square/1b3a4401c51fd2925f8e032f5a73b329d2f98d7e/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fa%2Fakira6592%2F20170521%2F20170521163508.png)