Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 391 Bytes

modules_ex3.md

File metadata and controls

7 lines (4 loc) · 391 Bytes

Modules Exercise 3

  1. Create a new Playbook with a Play that will operate against the NXOS hosts again. Gather and register the facts as done in the previous exercises.

  2. Use the Debug module to print the "ansible_net_neighbors" argument from the dictionary item that you registered in the previous step.

  3. Create another task that prints only the "sysname" value of "Ethernet1/1".