Playbook Question
How do you define hosts? Seeing how I add them through the GUI, it won't take affect unless I add them to the host yaml entry.
I'm sure I'm just doing this wrong, but what should go here then?
- name: capture show output
hosts: switch
gather_facts: no
connection: network_cli
...
Responses