---- name: get version hosts: all gather_facts: false connection: local
tasks: - name: run multiple commands on remote nodes ios_command: commands: - show version - show ip int brief
register: print_output
- debug: var=print_output.stdout_lines--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/28d6edf5-b5de-4241-a5ea-8e586c3b9cb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.