ansible ios&nxosでshowコマンドを打つ

こんにちは。ちゃあ少佐です。

 

ansible 学習4日目

 

ios show command☆

- name: run multiple commands on remote nodes
 ios_command:
  commands:
   - show version
   - show interfaces


☆nxos show command☆
- name: run multiple commands on remote nodes
 nxos_command:
  commands:
   - show version
   - show interfaces
 

インデントでよくエラーが出るので気を付けよう!

 

以上、ちゃあ少佐でした。