README.md 729 Bytes
Newer Older
Dónal Cunningham's avatar
Dónal Cunningham committed
1
2
# Show version

3
You need to update the hosts file : replace the "veos" host with one to which you can connect with ssh.
Dónal Cunningham's avatar
Dónal Cunningham committed
4
5
6
7
8

Run ``ansible-playbook -i hosts show_version.yaml``.

# Show the full responses to a module invocation

9
This will show __all__ of the responses, including the bits that most people don't even know exist.
Dónal Cunningham's avatar
Dónal Cunningham committed
10
11
12
13
14
15

Run ``ansible-playbook -i hosts show_all_responses.yaml``

# Multiple lines of commands

Run ``ansible-playbook -i hosts show_version_and_uptime.yaml``
16
17
18
19
20

# Device specific

There are device-specific `show version` playbooks. JunOS in particular paginates its output - so you have to run the command through `no-more` to stop it printing `--More--` and pausing for keyboard input which will never come.